Details

Time bar (total: 4.4s)

sample50.0ms

Algorithm
intervals
Results
33.0ms640×body80valid

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05114
115514
243014
3119514
4252614
5500114

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize19.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))

rewrite59.0ms

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

series307.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
56.0ms
(* (* a a) (- 1.0 a))
104.0ms
(pow (+ (* a a) (* b b)) 2.0)
38.0ms
(* (* b b) (+ 3.0 a))

simplify66.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0506651
12520583
25001583

prune257.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize19.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)))

rewrite42.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
flip3-+ associate-*r* flip-+ 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 → 57
Calls
4 calls:
17.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)))

series402.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (* b b) (+ 3.0 a))
128.0ms
(cbrt (* (* b b) (+ 3.0 a)))
121.0ms
(cbrt (* (* b b) (+ 3.0 a)))
121.0ms
(cbrt (* (* b b) (+ 3.0 a)))

simplify41.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0329661
11334610
25001544

prune315.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize19.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))

rewrite28.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:
14.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:
32.0ms
(* (* b b) (+ 3.0 a))
151.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
149.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
154.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify45.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0262598
11088544
25002538

prune308.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (pow a 4) (+ (pow b 4) (* 2 (* (pow a 2) (pow b 2)))))
0.0b
(* 2 (* (pow a 2) (pow b 2)))
3.0b
(* (pow a 2) (pow b 2))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
38×add-exp-log
28×prod-exp
24×add-sqr-sqrt
16×unswap-sqr
14×unpow-prod-down
12×pow-to-exp pow-exp
11×associate-*l*
10×*-un-lft-identity add-cbrt-cube unpow2 sqr-pow
associate-*r*
add-cube-cbrt add-log-exp
pow1
cbrt-unprod
sum-log
pow-prod-down *-commutative
+-commutative associate-+r+ flip3-+ flip-+ distribute-lft-out
Counts
3 → 90
Calls
3 calls:
22.0ms
(+ (pow a 4) (+ (pow b 4) (* 2 (* (pow a 2) (pow b 2)))))
10.0ms
(* 2 (* (pow a 2) (pow b 2)))
9.0ms
(* (pow a 2) (pow b 2))

series123.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(+ (pow a 4) (+ (pow b 4) (* 2 (* (pow a 2) (pow b 2)))))
41.0ms
(* 2 (* (pow a 2) (pow b 2)))
32.0ms
(* (pow a 2) (pow b 2))

simplify49.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0330587
11424506
25001495

prune197.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

regimes87.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.4s

Algorithm
intervals
Results
1.0s20316×body80valid