Details

Time bar (total: 8.4s)

sample51.0ms

Algorithm
intervals
Results
16.0ms55×body640valid
13.0ms142×body80valid
7.0ms29×body320valid
6.0ms19×body1280valid
2.0ms11×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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.8b

localize11.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))
2.5b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite402.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:
6.0ms
(/ 1.0 (- x 1.0))
6.0ms
(/ 1.0 (+ x 1.0))
55.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
277.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series306.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ 1.0 (- x 1.0))
26.0ms
(/ 1.0 (+ x 1.0))
40.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
207.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify149.0ms

Algorithm
egg-herbie
Counts
630 → 630
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
0115610955
136078288
250017670

prune1.4s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.3b

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (/ 1.0 (- x 1.0)))
0.3b
(cbrt (/ 1.0 (- x 1.0)))
0.3b
(* (cbrt (/ 1.0 (- x 1.0))) (cbrt (/ 1.0 (- x 1.0))))
18.2b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (* (* (cbrt (/ 1.0 (- x 1.0))) (cbrt (/ 1.0 (- x 1.0)))) (cbrt (/ 1.0 (- x 1.0)))))

rewrite348.0ms

Algorithm
rewrite-expression-head
Rules
440×*-un-lft-identity
434×times-frac
369×add-sqr-sqrt
297×add-cube-cbrt
236×associate-+l+
234×prod-diff
150×cbrt-prod
42×cbrt-div
40×distribute-lft-out
38×associate-/r/
37×div-inv
30×swap-sqr
27×distribute-lft-out--
24×associate-*r* associate-*l*
22×difference-of-squares
21×frac-add
16×frac-times associate-*l/
14×flip3-+ flip-+
13×flip3-- flip--
11×pow1
10×fma-def associate-*r/
add-log-exp unswap-sqr
pow1/3
frac-sub
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow-prod-down sum-log pow-sqr pow-prod-up
+-commutative pow2 associate-+l- sub-neg pow-plus diff-log prod-exp *-commutative cbrt-unprod
Counts
4 → 456
Calls
4 calls:
4.0ms
(cbrt (/ 1.0 (- x 1.0)))
4.0ms
(cbrt (/ 1.0 (- x 1.0)))
47.0ms
(* (cbrt (/ 1.0 (- x 1.0))) (cbrt (/ 1.0 (- x 1.0))))
246.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (* (* (cbrt (/ 1.0 (- x 1.0))) (cbrt (/ 1.0 (- x 1.0)))) (cbrt (/ 1.0 (- x 1.0)))))

series702.0ms

Counts
4 → 12
Calls
4 calls:
134.0ms
(cbrt (/ 1.0 (- x 1.0)))
129.0ms
(cbrt (/ 1.0 (- x 1.0)))
184.0ms
(* (cbrt (/ 1.0 (- x 1.0))) (cbrt (/ 1.0 (- x 1.0))))
255.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (* (* (cbrt (/ 1.0 (- x 1.0))) (cbrt (/ 1.0 (- x 1.0)))) (cbrt (/ 1.0 (- x 1.0)))))

simplify179.0ms

Algorithm
egg-herbie
Counts
468 → 468
Iterations

Useful iterations: 2 (113.0ms)

IterNodesCost
011388972
145606307
250015659

prune1.6s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.3b

localize13.0ms

Local error

Found 4 expressions with local error:

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
(- (* 1.0 x) (* (+ x 1.0) 2.0))
0.1b
(* (* (+ x 1.0) x) (- x 1.0))
29.1b
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

rewrite53.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:
22.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)))
3.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
23.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))

series628.0ms

Counts
4 → 12
Calls
4 calls:
303.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)))
43.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
98.0ms
(* (* (+ x 1.0) x) (- x 1.0))
184.0ms
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

simplify95.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
06371498
130821198
250011198

prune275.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt *-un-lft-identity
20×add-cube-cbrt
19×add-exp-log add-cbrt-cube
18×prod-diff associate-*l/
11×distribute-rgt-in distribute-lft-in
10×pow1
frac-times associate-*r* associate-/r/
flip3-+ prod-exp cbrt-unprod flip-+
flip3-- flip--
associate-*l*
associate-*r/ pow-prod-down
cbrt-undiv expm1-log1p-u times-frac div-exp log1p-expm1-u associate-/l* add-log-exp
sub-neg *-commutative
frac-2neg clear-num associate-/r* div-inv distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 108
Calls
3 calls:
10.0ms
(* (+ x 1.0) x)
24.0ms
(* (* (+ x 1.0) x) (- x 1.0))
22.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

series241.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(* (+ x 1.0) x)
99.0ms
(* (* (+ x 1.0) x) (- x 1.0))
92.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

simplify77.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
0565948
12962739
25001737

prune382.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

regimes17.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1156

end0.0ms

sample1.4s

Algorithm
intervals
Results
498.0ms1808×body640valid
370.0ms4225×body80valid
198.0ms576×body1280valid
191.0ms913×body320valid
70.0ms482×body160valid