Details

Time bar (total: 4.0s)

sample18.0ms

Algorithm
intervals
Results
5.0ms65×body640valid
3.0ms49×body320valid
3.0ms124×body80valid
1.0ms18×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1155
2155

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.1b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.0b
(/ 1.0 (+ x 1.0))
3.6b
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
662×*-un-lft-identity
589×times-frac
496×add-sqr-sqrt
378×prod-diff
368×add-cube-cbrt
86×associate-/r/
79×distribute-lft-out--
76×distribute-lft-out
62×difference-of-squares
44×div-inv
24×flip-+
23×flip3-+
21×flip--
20×flip3--
18×fma-neg
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num
sub-neg diff-log frac-sub
Counts
3 → 504
Calls
3 calls:
5.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1.0 (+ x 1.0))
33.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series230.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(/ 1.0 (- x 1.0))
24.0ms
(/ 1.0 (+ x 1.0))
173.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify164.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
0120013350
135939620
250019568

prune684.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.4b

localize9.0ms

Local error

Found 2 expressions with local error:

0.4b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
2.7b
(- (- x 1.0) (+ x 1.0))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
59×*-un-lft-identity
39×add-sqr-sqrt
29×prod-diff
27×add-cube-cbrt
14×add-log-exp
12×times-frac
11×associate--l+ distribute-lft-out--
10×difference-of-squares
distribute-lft-out
diff-log
fma-neg
add-exp-log flip3-- associate-/r* frac-sub add-cbrt-cube flip--
associate-/l*
pow1 expm1-log1p-u sub-neg flip3-+ sum-log associate-/r/ flip-+ log1p-expm1-u
cbrt-undiv associate--l- frac-2neg div-exp clear-num div-inv associate--r+
Counts
2 → 99
Calls
2 calls:
6.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
11.0ms
(- (- x 1.0) (+ x 1.0))

series54.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
7.0ms
(- (- x 1.0) (+ x 1.0))

simplify88.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
0500926
12870692
25001690

prune191.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.4b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (cbrt 1.0) (- x 1.0))
0.0b
(/ (* (cbrt 1.0) (cbrt 1.0)) (+ x 1.0))
0.1b
(* (/ (* (cbrt 1.0) (cbrt 1.0)) (+ x 1.0)) (/ (cbrt 1.0) (- x 1.0)))
2.7b
(- (- x 1.0) (+ x 1.0))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
124×*-un-lft-identity
114×add-sqr-sqrt
75×times-frac
60×add-cube-cbrt
36×associate-*r*
35×cbrt-prod
32×add-exp-log
29×prod-diff
24×distribute-lft-out--
22×add-cbrt-cube
19×difference-of-squares
16×add-log-exp
11×associate--l+
10×cbrt-undiv div-exp associate-*l* distribute-lft-out
prod-exp associate-/r* cbrt-unprod
associate-/r/
associate-/l*
pow1 diff-log unswap-sqr
flip3-- fma-neg flip--
expm1-log1p-u flip3-+ frac-sub flip-+ log1p-expm1-u div-inv
sub-neg frac-2neg clear-num sum-log
associate--l- frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative associate--r+
Counts
4 → 226
Calls
4 calls:
6.0ms
(/ (cbrt 1.0) (- x 1.0))
8.0ms
(/ (* (cbrt 1.0) (cbrt 1.0)) (+ x 1.0))
25.0ms
(* (/ (* (cbrt 1.0) (cbrt 1.0)) (+ x 1.0)) (/ (cbrt 1.0) (- x 1.0)))
11.0ms
(- (- x 1.0) (+ x 1.0))

series270.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(/ (cbrt 1.0) (- x 1.0))
82.0ms
(/ (* (cbrt 1.0) (cbrt 1.0)) (+ x 1.0))
125.0ms
(* (/ (* (cbrt 1.0) (cbrt 1.0)) (+ x 1.0)) (/ (cbrt 1.0) (- x 1.0)))
7.0ms
(- (- x 1.0) (+ x 1.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
238 → 238
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
09682189
150011842

prune536.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (cbrt 1.0) (- x 1.0))
0.0b
(/ (* (cbrt 1.0) (cbrt 1.0)) (+ x 1.0))
0.0b
(* (* (/ (* (cbrt 1.0) (cbrt 1.0)) (+ x 1.0)) (/ (cbrt 1.0) (- x 1.0))) (- 2.0))
0.1b
(* (/ (* (cbrt 1.0) (cbrt 1.0)) (+ x 1.0)) (/ (cbrt 1.0) (- x 1.0)))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
89×add-sqr-sqrt
79×*-un-lft-identity
75×times-frac
61×add-exp-log
47×add-cube-cbrt
46×associate-*r*
44×add-cbrt-cube
35×cbrt-prod
24×prod-exp cbrt-unprod
17×cbrt-undiv div-exp
13×distribute-lft-out-- difference-of-squares
11×pow1 associate-*l*
associate-/r*
associate-/r/
associate-/l*
unswap-sqr
associate-*l/
expm1-log1p-u pow-prod-down log1p-expm1-u div-inv add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in distribute-lft-out
frac-times flip3-- frac-2neg flip3-+ associate-*r/ clear-num *-commutative flip-- flip-+
neg-mul-1 distribute-rgt-neg-out
Counts
4 → 203
Calls
4 calls:
6.0ms
(/ (cbrt 1.0) (- x 1.0))
12.0ms
(/ (* (cbrt 1.0) (cbrt 1.0)) (+ x 1.0))
18.0ms
(* (* (/ (* (cbrt 1.0) (cbrt 1.0)) (+ x 1.0)) (/ (cbrt 1.0) (- x 1.0))) (- 2.0))
23.0ms
(* (/ (* (cbrt 1.0) (cbrt 1.0)) (+ x 1.0)) (/ (cbrt 1.0) (- x 1.0)))

series394.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(/ (cbrt 1.0) (- x 1.0))
82.0ms
(/ (* (cbrt 1.0) (cbrt 1.0)) (+ x 1.0))
132.0ms
(* (* (/ (* (cbrt 1.0) (cbrt 1.0)) (+ x 1.0)) (/ (cbrt 1.0) (- x 1.0))) (- 2.0))
119.0ms
(* (/ (* (cbrt 1.0) (cbrt 1.0)) (+ x 1.0)) (/ (cbrt 1.0) (- x 1.0)))

simplify43.0ms

Algorithm
egg-herbie
Counts
215 → 215
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09332175
150011896

prune529.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

regimes17.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0168
1228
2258
3258

end0.0ms

sample459.0ms

Algorithm
intervals
Results
165.0ms1931×body640valid
96.0ms4179×body80valid
78.0ms1284×body320valid
25.0ms606×body160valid