Details

Time bar (total: 4.4s)

sample49.0ms

Algorithm
intervals
Results
32.0ms640×body80valid

simplify79.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
05314
117313
253212
3168112
4427812
5500112

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt *-un-lft-identity
22×add-cube-cbrt
18×prod-diff
15×pow1 add-exp-log
14×add-cbrt-cube
13×distribute-rgt-in distribute-lft-in
associate-*r*
fma-def
unpow-prod-down pow-prod-down prod-exp cbrt-unprod add-log-exp
expm1-log1p-u associate-*r/ log1p-expm1-u
pow-unpow
sub-neg associate-+r+ flip3-+ associate-*l* *-commutative flip-+ unswap-sqr sqr-pow
+-commutative pow-to-exp flip3-- pow-pow pow-exp sum-log flip-- distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 114
Calls
4 calls:
28.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
16.0ms
(* (* a a) (- 1.0 a))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
14.0ms
(* (* b b) (+ 3.0 a))

series294.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
54.0ms
(* (* a a) (- 1.0 a))
102.0ms
(pow (+ (* a a) (* b b)) 2.0)
33.0ms
(* (* b b) (+ 3.0 a))

simplify88.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
0646990
13454779
25001776

prune326.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (* b b) (+ 3.0 a))
20.9b
(cbrt (* (* b b) (+ 3.0 a)))
20.9b
(cbrt (* (* b b) (+ 3.0 a)))
20.9b
(cbrt (* (* b b) (+ 3.0 a)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
associate-*r/
*-un-lft-identity
add-sqr-sqrt cbrt-div
add-cube-cbrt
expm1-log1p-u flip3-+ associate-*r* flip-+ log1p-expm1-u add-log-exp
cbrt-prod pow1/3 pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in distribute-lft-in associate-*l* *-commutative distribute-lft-out unswap-sqr
Counts
4 → 65
Calls
4 calls:
14.0ms
(* (* b b) (+ 3.0 a))
8.0ms
(cbrt (* (* b b) (+ 3.0 a)))
8.0ms
(cbrt (* (* b b) (+ 3.0 a)))
8.0ms
(cbrt (* (* b b) (+ 3.0 a)))

series404.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* (* b b) (+ 3.0 a))
119.0ms
(cbrt (* (* b b) (+ 3.0 a)))
120.0ms
(cbrt (* (* b b) (+ 3.0 a)))
126.0ms
(cbrt (* (* b b) (+ 3.0 a)))

simplify42.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0341696
11405636
25001576

prune351.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (* b b) (+ 3.0 a))
17.1b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
17.1b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
17.1b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
21×cbrt-prod
13×*-un-lft-identity
12×add-sqr-sqrt
11×add-cube-cbrt
pow1 add-exp-log unpow-prod-down add-cbrt-cube
expm1-log1p-u associate-*r* log1p-expm1-u add-log-exp
pow1/3 pow-prod-down prod-exp cbrt-unprod sqr-pow
associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ associate-*l* *-commutative flip-+ distribute-lft-out unswap-sqr
Counts
4 → 77
Calls
4 calls:
18.0ms
(* (* b b) (+ 3.0 a))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

series486.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* (* b b) (+ 3.0 a))
148.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
154.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
146.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify38.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0270642
11138585
25001579

prune348.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma (pow a 3) a (fma (* 2 (pow a 2)) (pow b 2) (pow b 4)))
0.7b
(fma (* 2 (pow a 2)) (pow b 2) (pow b 4))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
0.0ms
(fma (pow a 3) a (fma (* 2 (pow a 2)) (pow b 2) (pow b 4)))
0.0ms
(fma (* 2 (pow a 2)) (pow b 2) (pow b 4))

series144.0ms

Counts
2 → 6
Calls
2 calls:
67.0ms
(fma (pow a 3) a (fma (* 2 (pow a 2)) (pow b 2) (pow b 4)))
76.0ms
(fma (* 2 (pow a 2)) (pow b 2) (pow b 4))

simplify56.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
076210
1319183
21501183
35002180

prune94.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes88.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
02925
12925

end0.0ms

sample1.3s

Algorithm
intervals
Results
996.0ms20316×body80valid