Details

Time bar (total: 1.4s)

sample13.0ms

Algorithm
intervals
Results
3.0ms256×pre80true
3.0ms256×body80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1253
2533
3803
4983
51073
61133
71133

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize3.0ms

Local error

Found 1 expressions with local error:

0.0b
(* (+ a b) (+ a b))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
pow1
add-sqr-sqrt
flip3-+ swap-sqr flip-+ distribute-lft-out
add-cube-cbrt
frac-times associate-*r* associate-*l*
add-exp-log add-cbrt-cube
associate-*r/ associate-*l/
pow2 distribute-rgt-in distribute-lft-in pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 40
Calls
1 calls:
19.0ms
(* (+ a b) (+ a b))

series14.0ms

Counts
1 → 3
Calls
1 calls:
14.0ms
(* (+ a b) (+ a b))

simplify33.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0189213
1902188
25001170

prune48.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* a a) (* b b))
0.2b
(/ (* (- (* a a) (* b b)) (+ a b)) (- a b))
0.2b
(* (- (* a a) (* b b)) (+ a b))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity
10×add-exp-log add-cbrt-cube
frac-times flip3-- flip-- associate-/l/
add-cube-cbrt
flip3-+ flip-+
pow1 times-frac associate-/r* add-log-exp
associate-*r/ associate-*r* associate-*l* associate-*l/ difference-of-squares
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod distribute-lft-out--
distribute-rgt-in sub-neg frac-2neg distribute-lft-in diff-log pow-prod-down clear-num *-commutative div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
3 → 78
Calls
3 calls:
3.0ms
(- (* a a) (* b b))
12.0ms
(/ (* (- (* a a) (* b b)) (+ a b)) (- a b))
16.0ms
(* (- (* a a) (* b b)) (+ a b))

series116.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(- (* a a) (* b b))
41.0ms
(/ (* (- (* a a) (* b b)) (+ a b)) (- a b))
40.0ms
(* (- (* a a) (* b b)) (+ a b))

simplify69.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0435731
12668647
25002647

prune166.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
*-un-lft-identity sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt flip3-+ add-cbrt-cube flip-+
associate-+r+ distribute-lft-out
Counts
2 → 25
Calls
2 calls:
24.0ms
(+ (pow a 2) (+ (* 2 (* a b)) (pow b 2)))
7.0ms
(+ (* 2 (* a b)) (pow b 2))

series71.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(+ (pow a 2) (+ (* 2 (* a b)) (pow b 2)))
48.0ms
(+ (* 2 (* a b)) (pow b 2))

simplify136.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0163237
1744220
23894212
35001212

prune67.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(* a (+ (* b 2) a))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ add-log-exp unswap-sqr
Counts
1 → 22
Calls
1 calls:
13.0ms
(* a (+ (* b 2) a))

series36.0ms

Counts
1 → 3
Calls
1 calls:
36.0ms
(* a (+ (* b 2) a))

simplify102.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0143116
1706103
23536102
35001102

prune44.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes25.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0136
1136

end0.0ms

sample320.0ms

Algorithm
intervals
Results
103.0ms8000×pre80true
100.0ms8000×body80valid