Details

Time bar (total: 4.8s)

sample112.0ms

Algorithm
intervals
Results
33.0ms59×body1280valid
27.0ms330×body80valid
16.0ms44×body640valid
10.0ms72×body80overflowed
4.0ms17×body320valid
2.0ms13×body160valid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
0572027

prune12.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.6b

Counts
2 → 2

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
0.0b
(* (+ 1.0 eps) x)
0.0b
(* (- 1.0 eps) x)
2.2b
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
76×exp-neg frac-times
57×neg-sub0 exp-diff
42×associate-*l/
38×associate-*r/
31×flip3-+ flip-+
29×flip3-- flip--
19×un-div-inv
18×add-sqr-sqrt
16×*-un-lft-identity
13×associate-*l*
10×pow1 add-cube-cbrt add-cbrt-cube
add-exp-log associate-*r*
add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
distribute-lft-out
sub-neg diff-log distribute-lft-out-- difference-of-squares
Counts
4 → 164
Calls
4 calls:
13.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
6.0ms
(* (+ 1.0 eps) x)
7.0ms
(* (- 1.0 eps) x)
18.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

series69.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
4.0ms
(* (+ 1.0 eps) x)
5.0ms
(* (- 1.0 eps) x)
51.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

simplify95.0ms

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
050056608

prune333.0ms

Filtered
92 candidates to 176 candidates (-91.3%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1751176
Fresh101
Picked011
Done000
Total1762178

Merged error: 0.5b

Counts
178 → 2

localize9.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (pow x 3) 0.6666666666666667)
5.6b
(+ (* (pow x 3) 0.6666666666666667) (- 2.0 (* 1.0 (* x x))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×associate-*l*
add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod add-cbrt-cube unswap-sqr
associate-*r* prod-exp
pow1 associate-+r+ sum-log sqr-pow
+-commutative cube-mult pow-to-exp associate-+r- sub-neg flip3-+ diff-log unpow3 pow-exp *-commutative cbrt-unprod flip-+
Counts
2 → 46
Calls
2 calls:
5.0ms
(* (pow x 3) 0.6666666666666667)
7.0ms
(+ (* (pow x 3) 0.6666666666666667) (- 2.0 (* 1.0 (* x x))))

series8.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(* (pow x 3) 0.6666666666666667)
4.0ms
(+ (* (pow x 3) 0.6666666666666667) (- 2.0 (* 1.0 (* x x))))

simplify59.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
04959465
14959465

prune70.0ms

Filtered
33 candidates to 52 candidates (-57.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New49352
Fresh000
Picked101
Done011
Total50454

Merged error: 0.5b

Counts
54 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt x) (cbrt x))
0.5b
(cbrt x)
0.5b
(cbrt x)
5.6b
(+ (* (pow (* (cbrt x) (cbrt x)) 3) (* x 0.6666666666666667)) (- 2.0 (* 1.0 (* x x))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
22×cbrt-prod add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity
11×pow1
add-log-exp
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube unswap-sqr
associate-+r+ pow-prod-down sum-log pow-sqr pow-prod-up
+-commutative pow2 associate-+r- sub-neg flip3-+ pow-plus diff-log prod-exp *-commutative cbrt-unprod flip-+
Counts
4 → 77
Calls
4 calls:
6.0ms
(* (cbrt x) (cbrt x))
1.0ms
(cbrt x)
1.0ms
(cbrt x)
9.0ms
(+ (* (pow (* (cbrt x) (cbrt x)) 3) (* x 0.6666666666666667)) (- 2.0 (* 1.0 (* x x))))

series79.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (cbrt x) (cbrt x))
24.0ms
(cbrt x)
22.0ms
(cbrt x)
8.0ms
(+ (* (pow (* (cbrt x) (cbrt x)) 3) (* x 0.6666666666666667)) (- 2.0 (* 1.0 (* x x))))

simplify67.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
04997560
14997560

prune106.0ms

Filtered
57 candidates to 89 candidates (-56.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New88189
Fresh022
Picked101
Done011
Total89493

Merged error: 0.5b

Counts
93 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (* x (- (* x 0.6666666666666667) 1.0)))
0.0b
(pow (+ 2.0 (* x (* x (- (* x 0.6666666666666667) 1.0)))) 3)
0.1b
(* x (- (* x 0.6666666666666667) 1.0))
5.2b
(cbrt (pow (+ 2.0 (* x (* x (- (* x 0.6666666666666667) 1.0)))) 3))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
12×pow1 add-exp-log cbrt-prod add-cbrt-cube
10×distribute-rgt-in distribute-lft-in
sub-neg unpow-prod-down cube-prod associate-*r/ associate-*l*
cube-div associate-*r* pow-prod-down prod-exp cbrt-unprod add-log-exp
pow-unpow
cube-mult cbrt-div flip3-- flip3-+ unpow3 *-commutative flip-- flip-+ sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt unswap-sqr
Counts
4 → 100
Calls
4 calls:
8.0ms
(* x (* x (- (* x 0.6666666666666667) 1.0)))
4.0ms
(pow (+ 2.0 (* x (* x (- (* x 0.6666666666666667) 1.0)))) 3)
6.0ms
(* x (- (* x 0.6666666666666667) 1.0))
4.0ms
(cbrt (pow (+ 2.0 (* x (* x (- (* x 0.6666666666666667) 1.0)))) 3))

series23.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* x (* x (- (* x 0.6666666666666667) 1.0)))
5.0ms
(pow (+ 2.0 (* x (* x (- (* x 0.6666666666666667) 1.0)))) 3)
8.0ms
(* x (- (* x 0.6666666666666667) 1.0))
4.0ms
(cbrt (pow (+ 2.0 (* x (* x (- (* x 0.6666666666666667) 1.0)))) 3))

simplify44.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
050541483

prune114.0ms

Filtered
58 candidates to 112 candidates (-93.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1102112
Fresh112
Picked101
Done011
Total1124116

Merged error: 0.5b

Counts
116 → 4

regimes205.0ms

Accuracy

96.1% (0.6b remaining)

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

bsearch88.0ms

Steps
ItersRangePoint
10
172.6601051395161
12785707414306.22
233.58671816821754

simplify10.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (9.0ms)

IterNodesCost
052852
152852

end0.0ms

sample3.1s

Algorithm
intervals
Results
991.0ms1743×body1280valid
818.0ms10154×body80valid
462.0ms1276×body640valid
152.0ms632×body320valid
148.0ms1868×body80overflowed
45.0ms273×body160valid

Profiling

Loading profile data...