Details

Time bar (total: 5.6s)

sample50.0ms

Algorithm
intervals
Results
32.0ms654×body80valid

simplify69.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05114
115514
243014
3119514
4252614
5500114

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
15×pow1 add-exp-log
14×add-cbrt-cube
12×add-sqr-sqrt *-un-lft-identity associate-*r/
associate-*r*
add-cube-cbrt
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp cbrt-unprod add-log-exp
sub-neg associate-+l+ flip3-+ frac-add flip-+
unpow-prod-down pow-unpow flip3-- flip--
associate-+r+ associate-*l* *-commutative unswap-sqr
+-commutative pow-to-exp pow-pow pow-exp sum-log distribute-lft-out distribute-lft-out-- difference-of-squares sqr-pow
Counts
4 → 89
Calls
4 calls:
10.0ms
(+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))
8.0ms
(* (* a a) (- 1.0 a))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
8.0ms
(* (* b b) (+ 3.0 a))

series243.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0559659
12944602
25001602

prune280.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

localize19.0ms

Local error

Found 4 expressions with local error:

1.2b
(* (* b b) (+ 3.0 a))
19.0b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
19.0b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
19.0b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite26.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
associate-*r* 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 → 69
Calls
4 calls:
8.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))
8.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

series478.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* (* b b) (+ 3.0 a))
150.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
151.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
81 → 81
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0262598
11088544
25002538

prune319.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

19.0b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
19.0b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
19.0b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
19.0b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
28×cbrt-prod
12×add-sqr-sqrt add-cube-cbrt unpow-prod-down *-un-lft-identity
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp sqr-pow
Counts
4 → 60
Calls
4 calls:
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))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

series602.0ms

Counts
4 → 12
Calls
4 calls:
151.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
152.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
146.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
153.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify98.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (22.0ms)

IterNodesCost
0102632
1220588
2765580
33241572
45001572

prune352.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize30.0ms

Local error

Found 4 expressions with local error:

9.1b
(cbrt (+ (* a a) (* b b)))
14.5b
(cbrt (pow (* (cbrt (+ (* a a) (* b b))) (cbrt (+ (* a a) (* b b)))) 2.0))
19.0b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
19.0b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
22×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp
sqr-pow
cbrt-div
flip3-+ flip-+
Counts
4 → 56
Calls
4 calls:
4.0ms
(cbrt (+ (* a a) (* b b)))
4.0ms
(cbrt (pow (* (cbrt (+ (* a a) (* b b))) (cbrt (+ (* 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))

series710.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(cbrt (+ (* a a) (* b b)))
147.0ms
(cbrt (pow (* (cbrt (+ (* a a) (* b b))) (cbrt (+ (* a a) (* b b)))) 2.0))
143.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
327.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify81.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0260681
1811627
22838619
35001613

prune369.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 0.0b

regimes260.0ms

Accuracy

0% (0.1b 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
02514
12514

end0.0ms

sample1.4s

Algorithm
intervals
Results
1.0s20313×body80valid