Details

Time bar (total: 4.9s)

sample110.0ms

Algorithm
intervals
Results
34.0ms62×body1280valid
31.0ms360×body80valid
13.0ms38×body640valid
5.0ms70×body80overflowed
5.0ms22×body320valid
1.0msbody160valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (34.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune8.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.7b

Counts
2 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite158.0ms

Algorithm
rewrite-expression-head
Rules
99×*-un-lft-identity
84×times-frac
59×add-sqr-sqrt
23×add-cube-cbrt
22×distribute-lft-out--
14×add-log-exp
10×distribute-lft-out
difference-of-squares
add-cbrt-cube
add-exp-log
pow1 exp-to-pow associate-/l*
associate-/r* div-inv
exp-prod diff-log div-sub rem-exp-log associate-/l/
cbrt-undiv sub-neg flip3-- distribute-rgt-out-- frac-2neg flip3-+ div-exp clear-num sum-log frac-sub flip-- flip-+ sub-div associate--r-
Counts
4 → 96
Calls
4 calls:
10.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
3.0ms
(exp (* (- 1.0 eps) x))
3.0ms
(exp (* (+ 1.0 eps) x))
138.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))

series75.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
4.0ms
(exp (* (- 1.0 eps) x))
4.0ms
(exp (* (+ 1.0 eps) x))
55.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))

simplify44.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
04581482
113461407
250011383

prune247.0ms

Filtered
77 candidates to 108 candidates (-40.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1044108
Fresh000
Picked101
Done000
Total1054109

Merged error: 0.3b

Counts
109 → 4

localize7.0ms

Local error

Found 1 expressions with local error:

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

rewrite8.0ms

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

series7.0ms

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

simplify159.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0158214
1638189
24553189
35001189

prune55.0ms

Filtered
22 candidates to 36 candidates (-63.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New35136
Fresh033
Picked101
Done000
Total36440

Merged error: 0.3b

Counts
40 → 4

localize9.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (pow x 2) (- (* x 0.33333333333333337) 0.5))
2.4b
(log (exp (* (pow x 2) (- (* x 0.33333333333333337) 0.5))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
associate-*l*
add-exp-log log-prod
add-cube-cbrt *-un-lft-identity
distribute-rgt-in sub-neg unpow-prod-down distribute-lft-in exp-sum add-cbrt-cube unswap-sqr
pow1 associate-*r* prod-exp log-pow add-log-exp
associate-*r/ unpow2 sqr-pow
pow-to-exp exp-prod flip3-- exp-to-pow rem-log-exp pow-exp *-commutative flip-- cbrt-unprod
Counts
2 → 51
Calls
2 calls:
7.0ms
(* (pow x 2) (- (* x 0.33333333333333337) 0.5))
2.0ms
(log (exp (* (pow x 2) (- (* x 0.33333333333333337) 0.5))))

series14.0ms

Counts
2 → 6
Calls
2 calls:
7.0ms
(* (pow x 2) (- (* x 0.33333333333333337) 0.5))
7.0ms
(log (exp (* (pow x 2) (- (* x 0.33333333333333337) 0.5))))

simplify169.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0191345
1701301
24708301
35001301

prune87.0ms

Filtered
35 candidates to 57 candidates (-62.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New56157
Fresh033
Picked011
Done000
Total56561

Merged error: 0.3b

Counts
61 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (exp (* (pow x 2) (- (* x 0.33333333333333337) 0.5))))
0.1b
(cbrt (exp (* (pow x 2) (- (* x 0.33333333333333337) 0.5))))
2.2b
(log (cbrt (exp (* (pow x 2) (- (* x 0.33333333333333337) 0.5)))))
2.2b
(log (cbrt (exp (* (pow x 2) (- (* x 0.33333333333333337) 0.5)))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
28×cbrt-prod
20×log-prod
16×exp-sum
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
distribute-rgt-in sub-neg distribute-lft-in
pow1 add-exp-log
pow1/3 log-pow add-cbrt-cube add-log-exp
rem-log-exp
Counts
4 → 70
Calls
4 calls:
2.0ms
(cbrt (exp (* (pow x 2) (- (* x 0.33333333333333337) 0.5))))
2.0ms
(cbrt (exp (* (pow x 2) (- (* x 0.33333333333333337) 0.5))))
3.0ms
(log (cbrt (exp (* (pow x 2) (- (* x 0.33333333333333337) 0.5)))))
3.0ms
(log (cbrt (exp (* (pow x 2) (- (* x 0.33333333333333337) 0.5)))))

series127.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(cbrt (exp (* (pow x 2) (- (* x 0.33333333333333337) 0.5))))
24.0ms
(cbrt (exp (* (pow x 2) (- (* x 0.33333333333333337) 0.5))))
37.0ms
(log (cbrt (exp (* (pow x 2) (- (* x 0.33333333333333337) 0.5)))))
41.0ms
(log (cbrt (exp (* (pow x 2) (- (* x 0.33333333333333337) 0.5)))))

simplify49.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0138838
1376760
21185750
35001734

prune215.0ms

Filtered
60 candidates to 82 candidates (-36.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New80282
Fresh033
Picked101
Done011
Total81687

Merged error: 0.3b

Counts
87 → 6

regimes132.0ms

Accuracy

96.3% (0.6b remaining)

Error of 1.0b against oracle of 0.4b and baseline of 16.7b

bsearch102.0ms

Steps
ItersRangePoint
10
2.4879688186424768e-05
51082621280221.5
13.335055754899628

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04233
14233

end0.0ms

sample3.0s

Algorithm
intervals
Results
953.0ms1729×body1280valid
783.0ms10127×body80valid
436.0ms1259×body640valid
155.0ms654×body320valid
145.0ms1911×body80overflowed
47.0ms314×body160valid

Profiling

Loading profile data...