Details

Time bar (total: 4.9s)

sample55.0ms

Algorithm
intervals
Results
37.0ms657×body80valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
05515
117914
256113
3182413
4500213

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (- (pow (+ (* a a) (* b b)) 2.0) 1.0))
0.1b
(fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a))))
0.3b
(pow (+ (* a a) (* b b)) 2.0)
0.7b
(* (* b b) (- 1.0 (* 3.0 a)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log add-sqr-sqrt
add-cube-cbrt *-un-lft-identity add-cbrt-cube
prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u log1p-expm1-u add-log-exp
unpow-prod-down pow-unpow associate-*r* pow-prod-down prod-exp cbrt-unprod
sub-neg associate-*r/ fma-udef
pow-to-exp flip3-- pow-pow associate-*l* pow-exp *-commutative flip-- unswap-sqr sqr-pow
Counts
4 → 72
Calls
4 calls:
0.0ms
(fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (- (pow (+ (* a a) (* b b)) 2.0) 1.0))
0.0ms
(fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a))))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
12.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

series311.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(fma 4.0 (fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a)))) (- (pow (+ (* a a) (* b b)) 2.0) 1.0))
54.0ms
(fma (* a a) (+ 1.0 a) (* (* b b) (- 1.0 (* 3.0 a))))
100.0ms
(pow (+ (* a a) (* b b)) 2.0)
52.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify50.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0391706
11680606
25001592

prune277.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* a a) (* b b))
0.0b
(fma 1.0 (fma a a (* b b)) (pow a 3))
0.0b
(fma 4.0 (fma 1.0 (fma a a (* b b)) (pow a 3)) (- (pow (+ (* a a) (* b b)) 2.0) 1.0))
0.3b
(pow (+ (* a a) (* b b)) 2.0)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
pow1 add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u
unpow-prod-down pow-unpow
fma-udef
+-commutative pow-to-exp pow-pow fma-def flip3-+ pow-exp sum-log flip-+ sqr-pow
Counts
4 → 53
Calls
4 calls:
2.0ms
(+ (* a a) (* b b))
0.0ms
(fma 1.0 (fma a a (* b b)) (pow a 3))
0.0ms
(fma 4.0 (fma 1.0 (fma a a (* b b)) (pow a 3)) (- (pow (+ (* a a) (* b b)) 2.0) 1.0))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)

series273.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (* a a) (* b b))
40.0ms
(fma 1.0 (fma a a (* b b)) (pow a 3))
100.0ms
(fma 4.0 (fma 1.0 (fma a a (* b b)) (pow a 3)) (- (pow (+ (* a a) (* b b)) 2.0) 1.0))
105.0ms
(pow (+ (* a a) (* b b)) 2.0)

simplify144.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 3 (132.0ms)

IterNodesCost
0261436
11145382
24619375
35001374

prune246.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (+ (* a a) (* b b)) 2.0)
0.7b
(* (* b b) (- 1.0 (* 3.0 a)))
0.7b
(* (* b b) (- 1.0 (* 3.0 a)))
0.7b
(* (* b b) (- 1.0 (* 3.0 a)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
20×pow1 add-exp-log
19×add-cbrt-cube
18×add-sqr-sqrt prod-diff
15×distribute-rgt-in add-cube-cbrt *-un-lft-identity distribute-lft-in
associate-*r* pow-prod-down prod-exp cbrt-unprod
sub-neg associate-*r/
expm1-log1p-u log1p-expm1-u add-log-exp
unpow-prod-down pow-unpow flip3-- associate-*l* *-commutative flip-- unswap-sqr
pow-to-exp pow-pow pow-exp sqr-pow
Counts
4 → 118
Calls
4 calls:
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
12.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
15.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
12.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

series264.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(pow (+ (* a a) (* b b)) 2.0)
54.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
56.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
50.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify47.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0304905
11350773
25002753

prune500.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize37.0ms

Local error

Found 4 expressions with local error:

0.7b
(* (* b b) (- 1.0 (* 3.0 a)))
6.9b
(cbrt (+ (* a a) (* b b)))
6.9b
(cbrt (+ (* a a) (* b b)))
6.9b
(cbrt (+ (* a a) (* b b)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log cbrt-prod add-cbrt-cube
cbrt-div prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u log1p-expm1-u add-log-exp
flip3-+ pow1/3 associate-*r* pow-prod-down prod-exp cbrt-unprod flip-+
sub-neg associate-*r/
flip3-- associate-*l* *-commutative flip-- unswap-sqr
Counts
4 → 78
Calls
4 calls:
12.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
2.0ms
(cbrt (+ (* a a) (* b b)))
2.0ms
(cbrt (+ (* a a) (* b b)))
2.0ms
(cbrt (+ (* a a) (* b b)))

series337.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
94.0ms
(cbrt (+ (* a a) (* b b)))
93.0ms
(cbrt (+ (* a a) (* b b)))
94.0ms
(cbrt (+ (* a a) (* b b)))

simplify46.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0331646
11480584
25001567

prune530.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes167.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02113
12113

end0.0ms

sample1.4s

Algorithm
intervals
Results
1.1s20396×body80valid