Details

Time bar (total: 1.7s)

sample14.0ms

Algorithm
intervals
Results
4.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))

rewrite18.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:
17.0ms
(* (+ a b) (+ a b))

series15.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0189213
1902188
25001170

prune51.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite23.0ms

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

series52.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(* b (+ a b))
27.0ms
(* a (+ a b))

simplify35.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0195170
11010152
25001152

prune81.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite19.0ms

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

series54.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(+ (pow a 2) (* a b))
26.0ms
(* b (+ a b))

simplify136.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0194160
1969139
24789135
35001135

prune79.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* b b) (* a b))
0.0b
(+ (* a a) (- (* b b) (* a b)))
0.3b
(* (+ a b) (+ (pow a 3) (pow b 3)))
0.5b
(/ (* (+ a b) (+ (pow a 3) (pow b 3))) (+ (* a a) (- (* b b) (* a b))))

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
14×flip3-+ flip-+
11×add-exp-log add-cbrt-cube add-log-exp
10×add-sqr-sqrt
associate-*r*
frac-times add-cube-cbrt associate-/l/
pow1 distribute-lft-out
unpow-prod-down cube-prod associate-*r/ associate-*l* associate-*l/
times-frac associate-/r*
cbrt-undiv sub-neg associate-+r+ diff-log div-exp prod-exp sum-log associate-/r/ cbrt-unprod
+-commutative distribute-rgt-in associate-+r- flip3-- distribute-rgt-out-- frac-2neg distribute-lft-in pow-prod-down clear-num sum-cubes *-commutative flip-- div-inv associate-/l* unswap-sqr
Counts
4 → 94
Calls
4 calls:
3.0ms
(- (* b b) (* a b))
9.0ms
(+ (* a a) (- (* b b) (* a b)))
58.0ms
(* (+ a b) (+ (pow a 3) (pow b 3)))
34.0ms
(/ (* (+ a b) (+ (pow a 3) (pow b 3))) (+ (* a a) (- (* b b) (* a b))))

series160.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (* b b) (* a b))
21.0ms
(+ (* a a) (- (* b b) (* a b)))
53.0ms
(* (+ a b) (+ (pow a 3) (pow b 3)))
55.0ms
(/ (* (+ a b) (+ (pow a 3) (pow b 3))) (+ (* a a) (- (* b b) (* a b))))

simplify91.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
0521953
13046824
25002818

prune272.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes28.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
0146
1146

end0.0ms

sample344.0ms

Algorithm
intervals
Results
112.0ms8000×pre80true
103.0ms8000×body80valid