Details

Time bar (total: 4.8s)

sample25.0ms

Algorithm
intervals
Results
9.0ms63×body640valid
4.0ms124×body80valid
3.0ms33×body320valid
2.0ms15×body1280valid
1.0ms21×body160valid

simplify19.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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.2b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite337.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))
47.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
5.0ms
(/ 1.0 (- x 1.0))
229.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series319.0ms

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

simplify151.0ms

Algorithm
egg-herbie
Counts
630 → 630
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
0115610955
136078288
250017670

prune1.3s

Filtered
630 candidates to 390 candidates (61.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (* (+ x 1.0) x) (- x 1.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
(- (* 1.0 x) (* (+ x 1.0) 2.0))
32.1b
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

rewrite57.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:
31.0ms
(* (* (+ x 1.0) x) (- x 1.0))
16.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))
0.0ms
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

series664.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(* (* (+ x 1.0) x) (- x 1.0))
300.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)))
65.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
199.0ms
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

simplify85.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
06371498
130841198
250011198

prune262.0ms

Filtered
123 candidates to 81 candidates (65.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite50.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:
9.0ms
(* (+ x 1.0) x)
21.0ms
(* (* (+ x 1.0) x) (- x 1.0))
16.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

series229.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(* (+ x 1.0) x)
100.0ms
(* (* (+ x 1.0) x) (- x 1.0))
88.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

simplify71.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0565948
12962739
25001737

prune179.0ms

Filtered
117 candidates to 70 candidates (59.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (pow x 3) (* 1.0 x))
0.0b
(/ 2.0 (- (pow x 3) (* 1.0 x)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×times-frac fma-neg prod-diff
unpow3
unpow-prod-down cube-prod
distribute-rgt-out--
add-exp-log associate-/r* add-cbrt-cube add-log-exp
associate-/l*
pow1 expm1-log1p-u cube-mult flip3-- associate-/r/ flip-- log1p-expm1-u sqr-pow
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 74
Calls
2 calls:
12.0ms
(- (pow x 3) (* 1.0 x))
12.0ms
(/ 2.0 (- (pow x 3) (* 1.0 x)))

series153.0ms

Counts
2 → 6
Calls
2 calls:
83.0ms
(- (pow x 3) (* 1.0 x))
70.0ms
(/ 2.0 (- (pow x 3) (* 1.0 x)))

simplify46.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0294484
11279440
25001434

prune145.0ms

Filtered
80 candidates to 55 candidates (68.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes21.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094
194

end0.0ms

sample581.0ms

Algorithm
intervals
Results
196.0ms1880×body640valid
117.0ms4142×body80valid
74.0ms540×body1280valid
73.0ms945×body320valid
28.0ms496×body160valid