Details

Time bar (total: 5.1s)

sample24.0ms

Algorithm
intervals
Results
8.0ms55×body640valid
4.0ms135×body80valid
3.0ms22×body1280valid
2.0ms31×body320valid
1.0ms13×body160valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1317
2437
3577
4737
5927
61267
71587
82077
92097
102097

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.4b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.0b
(/ 1.0 (+ x 1.0))
0.0b
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
1.9b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite401.0ms

Algorithm
rewrite-expression-head
Rules
725×*-un-lft-identity
703×times-frac
524×add-sqr-sqrt
492×add-cube-cbrt
468×prod-diff
236×associate-+l+
95×distribute-lft-out
65×div-inv
58×associate-/r/
29×flip3-+ flip-+
18×fma-neg
17×distribute-lft-out--
12×difference-of-squares
11×add-log-exp
10×fma-def
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
pow1 expm1-log1p-u log1p-expm1-u
flip3-- frac-add flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num sum-log frac-sub
+-commutative associate-+l-
Counts
4 → 618
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
6.0ms
(/ 1.0 (+ x 1.0))
89.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
245.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series318.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ 1.0 (- x 1.0))
25.0ms
(/ 1.0 (+ x 1.0))
44.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
222.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify150.0ms

Algorithm
egg-herbie
Counts
630 → 630
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
0115610955
136078288
250017670

prune1.3s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.9b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 1.0 x) (* (+ x 1.0) 2.0))
0.0b
(/ (fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0)) (* (* (+ x 1.0) x) (- x 1.0)))
0.0b
(* (* (+ x 1.0) x) (- x 1.0))
30.0b
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt *-un-lft-identity
19×add-cube-cbrt prod-diff
18×add-exp-log add-cbrt-cube
16×associate-*l/
11×distribute-rgt-in distribute-lft-in
pow1
frac-times associate-/r/
flip3-- flip--
flip3-+ prod-exp cbrt-unprod flip-+ add-log-exp
associate-*r*
expm1-log1p-u associate-*r/ log1p-expm1-u
cbrt-undiv sub-neg times-frac div-exp pow-prod-down associate-/l*
frac-2neg fma-neg diff-log associate-*l* clear-num associate-/r* *-commutative fma-udef div-inv distribute-lft-out-- difference-of-squares
Counts
4 → 111
Calls
4 calls:
3.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
17.0ms
(/ (fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0)) (* (* (+ x 1.0) x) (- x 1.0)))
22.0ms
(* (* (+ x 1.0) x) (- x 1.0))
0.0ms
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

series606.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
297.0ms
(/ (fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0)) (* (* (+ x 1.0) x) (- x 1.0)))
93.0ms
(* (* (+ x 1.0) x) (- x 1.0))
176.0ms
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

simplify88.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
06371498
130821198
250011198

prune251.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.9b

localize17.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (pow x 5))
0.2b
(/ 1 (pow x 7))
0.9b
(/ 2.0 (pow x 3))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
78×times-frac
60×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
36×unpow-prod-down
26×add-exp-log associate-/r*
15×div-exp
12×cube-prod sqr-pow
add-cbrt-cube associate-/l*
pow-to-exp pow-exp
rec-exp 1-exp
cube-mult unpow3
pow1 cbrt-undiv expm1-log1p-u frac-2neg clear-num log1p-expm1-u div-inv add-log-exp
pow-flip inv-pow
Counts
3 → 177
Calls
3 calls:
4.0ms
(/ 1 (pow x 5))
4.0ms
(/ 1 (pow x 7))
5.0ms
(/ 2.0 (pow x 3))

series142.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(/ 1 (pow x 5))
59.0ms
(/ 1 (pow x 7))
37.0ms
(/ 2.0 (pow x 3))

simplify49.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0426811
12184699
25001699

prune329.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (pow x 5))
0.1b
(/ (/ 2.0 (* x x)) x)
0.2b
(/ 1 (pow x 7))
0.5b
(/ 2.0 (* x x))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
78×times-frac
54×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
36×add-exp-log
24×unpow-prod-down
22×add-cbrt-cube
19×div-exp
18×associate-/r*
16×associate-/l*
cbrt-undiv
div-inv sqr-pow
pow-to-exp rec-exp 1-exp pow-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
pow-flip prod-exp cbrt-unprod inv-pow
associate-/l/
Counts
4 → 183
Calls
4 calls:
4.0ms
(/ 1 (pow x 5))
6.0ms
(/ (/ 2.0 (* x x)) x)
4.0ms
(/ 1 (pow x 7))
3.0ms
(/ 2.0 (* x x))

series160.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(/ 1 (pow x 5))
37.0ms
(/ (/ 2.0 (* x x)) x)
56.0ms
(/ 1 (pow x 7))
25.0ms
(/ 2.0 (* x x))

simplify55.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0511914
12528828
25001768

prune405.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

regimes63.0ms

Accuracy

94.9% (0.5b remaining)

Error of 0.5b against oracle of 0.0b and baseline of 9.7b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04544
14544

end0.0ms

sample597.0ms

Algorithm
intervals
Results
210.0ms1886×body640valid
120.0ms4185×body80valid
77.0ms961×body320valid
74.0ms550×body1280valid
23.0ms420×body160valid