Details

Time bar (total: 1.8s)

sample15.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

localize6.0ms

Local error

Found 1 expressions with local error:

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

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

series13.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0189213
1902188
25001170

prune50.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
12×associate-*r/
11×add-sqr-sqrt *-un-lft-identity
associate-*r*
pow1 add-exp-log add-cube-cbrt flip3-+ add-cbrt-cube flip-+
associate-*l*
add-log-exp
distribute-rgt-in distribute-lft-in frac-add
associate-+l+ associate-+r+ pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
+-commutative distribute-rgt-out sum-log
Counts
3 → 66
Calls
3 calls:
19.0ms
(* a (+ a b))
13.0ms
(+ (* a (+ a b)) (* b (+ a b)))
21.0ms
(* b (+ a b))

series70.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(* a (+ a b))
21.0ms
(+ (* a (+ a b)) (* b (+ a b)))
26.0ms
(* b (+ a b))

simplify56.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0349386
11969333
25003331

prune140.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite79.0ms

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

series76.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(* b (+ a (+ a b)))
21.0ms
(+ (* a a) (* b (+ a (+ a b))))
23.0ms
(+ a (+ a b))

simplify39.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0252301
11187261
25001244

prune100.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite152.0ms

Algorithm
rewrite-expression-head
Rules
62×associate-*r/
57×pow1
36×sqrt-div
29×flip3-+ flip-+
28×sqrt-pow1
22×pow-prod-down
18×add-sqr-sqrt
16×*-un-lft-identity frac-add
12×frac-times add-cube-cbrt associate-*r*
10×add-exp-log pow1/2 associate-*l* pow-prod-up add-cbrt-cube
associate-*l/ pow-sqr add-log-exp
swap-sqr sqrt-prod
distribute-rgt-in distribute-lft-in prod-exp *-commutative cbrt-unprod unswap-sqr
associate-+r+ distribute-lft-out
+-commutative pow2 pow-plus sqrt-unprod sum-log rem-square-sqrt
Counts
4 → 132
Calls
4 calls:
18.0ms
(* a (+ a b))
54.0ms
(+ (* (sqrt (* a (+ a b))) (sqrt (* a (+ a b)))) (* b (+ a b)))
18.0ms
(* b (+ a b))
55.0ms
(* (sqrt (* a (+ a b))) (sqrt (* a (+ a b))))

series95.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* a (+ a b))
21.0ms
(+ (* (sqrt (* a (+ a b))) (sqrt (* a (+ a b)))) (* b (+ a b)))
23.0ms
(* b (+ a b))
27.0ms
(* (sqrt (* a (+ a b))) (sqrt (* a (+ a b))))

simplify113.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
06121141
13434983
25001967

prune230.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
0115
1115

end0.0ms

sample360.0ms

Algorithm
intervals
Results
99.0ms8000×pre80true
96.0ms8000×body80valid