Details

Time bar (total: 6.1s)

sample405.0ms

Algorithm
intervals
Results
297.0ms24×body320valid
47.0ms71×body1280valid
20.0ms48×body640valid
10.0ms100×body80valid
6.0ms84×body80overflowed
2.0ms13×body160valid

simplify747.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
0513112

prune18.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 38.2b

Counts
2 → 1

localize47.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (pow (exp x) 2.0) 1.0) (- (exp x) 1.0))
0.0b
(pow (exp x) 2.0)
3.8b
(- (pow (exp x) 2.0) 1.0)
3.9b
(- (exp x) 1.0)

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
74×add-sqr-sqrt
53×*-un-lft-identity
35×times-frac
30×difference-of-squares
21×add-cube-cbrt
16×distribute-lft-out--
10×unpow-prod-down
add-log-exp sqr-pow
associate-/l*
add-exp-log add-cbrt-cube
pow1 associate-/r*
flip3-- pow-pow flip--
pow-unpow exp-prod
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv pow-to-exp frac-2neg div-sub div-exp pow-exp clear-num div-inv
Counts
4 → 114
Calls
4 calls:
21.0ms
(/ (- (pow (exp x) 2.0) 1.0) (- (exp x) 1.0))
6.0ms
(pow (exp x) 2.0)
10.0ms
(- (pow (exp x) 2.0) 1.0)
11.0ms
(- (exp x) 1.0)

series69.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ (- (pow (exp x) 2.0) 1.0) (- (exp x) 1.0))
28.0ms
(pow (exp x) 2.0)
7.0ms
(- (pow (exp x) 2.0) 1.0)
16.0ms
(- (exp x) 1.0)

simplify159.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (137.0ms)

IterNodesCost
049081700
149081700

prune411.0ms

Filtered
90 candidates to 126 candidates (-40.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1224126
Fresh000
Picked101
Done000
Total1234127

Merged error: 0b

Counts
127 → 4

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (+ 2 (* x (* x 1/2))))
12.4b
(sqrt (+ x (+ 2 (* x (* x 1/2)))))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt sum-log
add-exp-log flip3-+ sqrt-div add-cbrt-cube flip-+ distribute-lft-out
+-commutative rem-sqrt-square associate-+r+ sqrt-pow1 pow1/2
Counts
2 → 30
Calls
2 calls:
9.0ms
(+ x (+ 2 (* x (* x 1/2))))
9.0ms
(sqrt (+ x (+ 2 (* x (* x 1/2)))))

series14.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(+ x (+ 2 (* x (* x 1/2))))
9.0ms
(sqrt (+ x (+ 2 (* x (* x 1/2)))))

simplify68.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
05225486

prune106.0ms

Filtered
26 candidates to 36 candidates (-38.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New35136
Fresh123
Picked101
Done000
Total37340

Merged error: 0b

Counts
40 → 3

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (+ x 2) (* x (* x 1/2)))
12.4b
(sqrt (+ (+ x 2) (* x (* x 1/2))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sum-log sqrt-prod
add-exp-log flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2
Counts
2 → 28
Calls
2 calls:
11.0ms
(+ (+ x 2) (* x (* x 1/2)))
10.0ms
(sqrt (+ (+ x 2) (* x (* x 1/2))))

series13.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(+ (+ x 2) (* x (* x 1/2)))
8.0ms
(sqrt (+ (+ x 2) (* x (* x 1/2))))

simplify87.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
04912454
14912454

prune97.0ms

Filtered
27 candidates to 34 candidates (-25.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New34034
Fresh022
Picked011
Done000
Total34337

Merged error: 0b

Counts
37 → 3

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp x) 2.0)
0.0b
(pow (exp x) 2)
3.8b
(- (pow (exp x) 2.0) 1.0)
3.8b
(- (pow (exp x) 2) (* 1.0 1.0))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
12×*-un-lft-identity
10×add-cube-cbrt
unpow-prod-down pow-pow add-log-exp
difference-of-squares
pow1 pow-unpow exp-prod
add-exp-log add-cbrt-cube sqr-pow
pow-to-exp sub-neg flip3-- diff-log pow-exp flip-- unpow2
distribute-lft-out--
Counts
4 → 73
Calls
4 calls:
7.0ms
(pow (exp x) 2.0)
7.0ms
(pow (exp x) 2)
10.0ms
(- (pow (exp x) 2.0) 1.0)
9.0ms
(- (pow (exp x) 2) (* 1.0 1.0))

series52.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(pow (exp x) 2.0)
5.0ms
(pow (exp x) 2)
7.0ms
(- (pow (exp x) 2.0) 1.0)
7.0ms
(- (pow (exp x) 2) (* 1.0 1.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
04908618
14908618

prune262.0ms

Filtered
60 candidates to 85 candidates (-41.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New85085
Fresh011
Picked011
Done011
Total85388

Merged error: 0b

Counts
88 → 3

regimes74.0ms

Accuracy

98.3% (0.4b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 20.8b

bsearch24.0ms

Steps
ItersRangePoint
6
-1.1294785154268786e-05
-9.709340229875236e-07
-1.0675671953547258e-05

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04835
14835

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.5s2319×body1280valid
696.0ms1672×body640valid
220.0ms2864×body80valid
213.0ms784×body320valid
176.0ms2494×body80overflowed
73.0ms421×body160valid

Profiling

Loading profile data...