Details

Time bar (total: 10.6s)

sample104.0ms

Algorithm
intervals
Results
25.0ms60×body10240exit
23.0ms54×body1280valid
17.0ms299×body80valid
15.0ms44×body640valid
4.0ms22×body320valid
1.0ms11×body160valid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (35.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune7.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: 30.1b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
0.1b
(exp (* (- 1.0 eps) x))
0.1b
(exp (* (+ 1.0 eps) x))
3.0b
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x))) 2.0))

rewrite407.0ms

Algorithm
rewrite-expression-head
Rules
1798×associate-/l*
1679×add-sqr-sqrt
1627×*-un-lft-identity
1428×frac-sub
1346×times-frac
1134×associate-/l/
937×add-cube-cbrt
467×associate-/r*
290×difference-of-squares
175×distribute-lft-out
163×distribute-lft-out--
155×frac-2neg
153×clear-num
79×div-inv
42×flip3-+ flip-+
36×flip3-- flip--
27×exp-prod
14×add-log-exp
associate-*l*
add-exp-log sub-div
associate-*r* add-cbrt-cube
pow1 exp-to-pow
div-sub
diff-log div-exp *-commutative rem-exp-log unswap-sqr
cbrt-undiv sub-neg distribute-rgt-out-- sum-log associate--r-
Counts
4 → 1564
Calls
4 calls:
17.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
7.0ms
(exp (* (- 1.0 eps) x))
6.0ms
(exp (* (+ 1.0 eps) x))
217.0ms
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x))) 2.0))

series268.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
24.0ms
(exp (* (- 1.0 eps) x))
19.0ms
(exp (* (+ 1.0 eps) x))
181.0ms
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x))) 2.0))

simplify577.0ms

Algorithm
egg-herbie
Counts
1576 → 1576
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
0500163135

prune4.4s

Filtered
1576 candidates to 933 candidates (40.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New157151576
Fresh000
Picked101
Done000
Total157251577

Merged error: 0.5b

Counts
1577 → 5

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 0.5 (pow x 2))
0.1b
(* 0.33333333333333337 (pow x 3))
6.6b
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
25×*-un-lft-identity
16×associate-*r*
13×add-exp-log
11×associate-*l* unswap-sqr
add-cube-cbrt unpow-prod-down
add-log-exp
pow1 add-cbrt-cube
prod-exp distribute-lft-out--
difference-of-squares sqr-pow
distribute-lft-out
unpow2
pow-to-exp diff-log pow-prod-down pow-exp associate--l+ *-commutative cbrt-unprod
+-commutative sub-neg flip3-- unpow3 sum-log flip--
Counts
3 → 81
Calls
3 calls:
6.0ms
(* 0.5 (pow x 2))
6.0ms
(* 0.33333333333333337 (pow x 3))
20.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

series106.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(* 0.5 (pow x 2))
37.0ms
(* 0.33333333333333337 (pow x 3))
44.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

simplify53.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0298475
11154439
25001422

prune154.0ms

Filtered
90 candidates to 53 candidates (41.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New87390
Fresh044
Picked101
Done000
Total88795

Merged error: 0.5b

Counts
95 → 7

localize8.0ms

Local error

Found 1 expressions with local error:

0.1b
(* (pow x 2) (- (* 0.33333333333333337 x) 0.5))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
associate-*l*
*-un-lft-identity
associate-*r*
add-exp-log
unswap-sqr
add-cube-cbrt unpow-prod-down
pow1 prod-exp add-cbrt-cube
distribute-rgt-in sub-neg distribute-lft-in associate-*r/ distribute-lft-out-- unpow2 difference-of-squares sqr-pow
pow-to-exp flip3-- pow-prod-down pow-exp *-commutative flip-- cbrt-unprod add-log-exp
Counts
1 → 38
Calls
1 calls:
13.0ms
(* (pow x 2) (- (* 0.33333333333333337 x) 0.5))

series87.0ms

Counts
1 → 3
Calls
1 calls:
87.0ms
(* (pow x 2) (- (* 0.33333333333333337 x) 0.5))

simplify183.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0178237
1701208
24975208
35001208

prune83.0ms

Filtered
41 candidates to 24 candidates (41.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New41041
Fresh066
Picked011
Done000
Total41748

Merged error: 0.5b

Counts
48 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

6.6b
(- (+ (* (* (cbrt (* 0.33333333333333337 (pow x 3))) (cbrt (* 0.33333333333333337 (pow x 3)))) (cbrt (* 0.33333333333333337 (pow x 3)))) 1.0) (* 0.5 (pow x 2)))
41.9b
(cbrt (* 0.33333333333333337 (pow x 3)))
41.9b
(cbrt (* 0.33333333333333337 (pow x 3)))
41.9b
(cbrt (* 0.33333333333333337 (pow x 3)))

rewrite169.0ms

Algorithm
rewrite-expression-head
Rules
57×cbrt-prod
43×add-sqr-sqrt
38×*-un-lft-identity
24×associate-*r*
19×associate-*l*
16×add-cube-cbrt
13×unpow-prod-down unswap-sqr
add-log-exp
distribute-lft-out--
sqr-pow
distribute-lft-out
difference-of-squares
pow1 add-exp-log add-cbrt-cube
pow1/3 unpow3 *-commutative
diff-log associate--l+
+-commutative sub-neg flip3-- sum-log flip-- unpow2
Counts
4 → 109
Calls
4 calls:
145.0ms
(- (+ (* (* (cbrt (* 0.33333333333333337 (pow x 3))) (cbrt (* 0.33333333333333337 (pow x 3)))) (cbrt (* 0.33333333333333337 (pow x 3)))) 1.0) (* 0.5 (pow x 2)))
7.0ms
(cbrt (* 0.33333333333333337 (pow x 3)))
7.0ms
(cbrt (* 0.33333333333333337 (pow x 3)))
7.0ms
(cbrt (* 0.33333333333333337 (pow x 3)))

series206.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- (+ (* (* (cbrt (* 0.33333333333333337 (pow x 3))) (cbrt (* 0.33333333333333337 (pow x 3)))) (cbrt (* 0.33333333333333337 (pow x 3)))) 1.0) (* 0.5 (pow x 2)))
45.0ms
(cbrt (* 0.33333333333333337 (pow x 3)))
38.0ms
(cbrt (* 0.33333333333333337 (pow x 3)))
45.0ms
(cbrt (* 0.33333333333333337 (pow x 3)))

simplify242.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 3 (228.0ms)

IterNodesCost
02591089
1846929
24815844
35001835

prune245.0ms

Filtered
121 candidates to 73 candidates (39.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1192121
Fresh145
Picked101
Done011
Total1217128

Merged error: 0.5b

Counts
128 → 7

regimes92.0ms

Accuracy

96.9% (0.5b remaining)

Error of 0.8b against oracle of 0.3b and baseline of 17.0b

bsearch138.0ms

Steps
ItersRangePoint
9
5.487422510167526e-06
1875.067688488174
210.23946370490975

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04327
14527
24527

end0.0ms

sample2.9s

Algorithm
intervals
Results
792.0ms1873×body10240exit
752.0ms1690×body1280valid
589.0ms10220×body80valid
326.0ms1222×body640valid
113.0ms654×body320valid
34.0ms287×body160valid