Details

Time bar (total: 2.2s)

sample19.0ms

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

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

series15.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0189213
1902188
25001170

prune47.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite54.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:
18.0ms
(* b (+ a b))
13.0ms
(+ (* a (+ a b)) (* b (+ a b)))
18.0ms
(* a (+ a b))

series77.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(* b (+ a b))
24.0ms
(+ (* a (+ a b)) (* b (+ a b)))
27.0ms
(* a (+ a b))

simplify55.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0349386
11962333
25002331

prune122.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

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

rewrite69.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:
48.0ms
(+ (pow a 2) (+ (* 2 (* a b)) (pow b 2)))
21.0ms
(+ (* 2 (* a b)) (pow b 2))

series72.0ms

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

simplify135.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0163237
1744220
23894212
35001212

prune75.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 2 (* a b)) (pow b 2))
0.0b
(- (pow a 2) (+ (* 2 (* a b)) (pow b 2)))
0.2b
(* (+ (* 2 (* a b)) (pow b 2)) (+ (* 2 (* a b)) (pow b 2)))
0.5b
(/ (+ (pow a 4) (- (* (+ (* 2 (* a b)) (pow b 2)) (+ (* 2 (* a b)) (pow b 2))))) (- (pow a 2) (+ (* 2 (* a b)) (pow b 2))))

rewrite324.0ms

Algorithm
rewrite-expression-head
Rules
60×add-sqr-sqrt
52×*-un-lft-identity
32×times-frac
24×difference-of-squares
22×add-cube-cbrt
11×pow1 add-log-exp
distribute-lft-out
add-exp-log flip3-+ associate-/r* add-cbrt-cube flip-+
unpow-prod-down distribute-lft-out-- unpow2 sqr-pow
frac-times associate-/l*
div-sub swap-sqr associate-*r* associate-*l*
flip3-- diff-log associate-*r/ associate-*l/ sum-log associate-/r/ flip-- associate-/l/
cbrt-undiv +-commutative pow2 neg-sub0 distribute-rgt-in associate-+r- sub-neg frac-2neg distribute-lft-in pow-plus div-exp unsub-neg pow-prod-down prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod div-inv associate--r+ unswap-sqr
Counts
4 → 128
Calls
4 calls:
18.0ms
(+ (* 2 (* a b)) (pow b 2))
49.0ms
(- (pow a 2) (+ (* 2 (* a b)) (pow b 2)))
121.0ms
(* (+ (* 2 (* a b)) (pow b 2)) (+ (* 2 (* a b)) (pow b 2)))
131.0ms
(/ (+ (pow a 4) (- (* (+ (* 2 (* a b)) (pow b 2)) (+ (* 2 (* a b)) (pow b 2))))) (- (pow a 2) (+ (* 2 (* a b)) (pow b 2))))

series175.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(+ (* 2 (* a b)) (pow b 2))
30.0ms
(- (pow a 2) (+ (* 2 (* a b)) (pow b 2)))
28.0ms
(* (+ (* 2 (* a b)) (pow b 2)) (+ (* 2 (* a b)) (pow b 2)))
72.0ms
(/ (+ (pow a 4) (- (* (+ (* 2 (* a b)) (pow b 2)) (+ (* 2 (* a b)) (pow b 2))))) (- (pow a 2) (+ (* 2 (* a b)) (pow b 2))))

simplify102.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
05072690
127252475
250022434

prune331.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

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

sample380.0ms

Algorithm
intervals
Results
108.0ms8000×pre80true
98.0ms8000×body80valid