Details

Time bar (total: 2.1s)

sample17.0ms

Algorithm
intervals
Results
6.0ms256×pre80true
4.0ms256×body80valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1253
2533
3803
4983
51073
61133
71133

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

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

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

series15.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0189213
1902188
25001170

prune51.0ms

Filtered
43 candidates to 19 candidates (44.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New40343
Fresh000
Picked011
Done000
Total40444

Merged error: 0b

Counts
44 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* a a) (* b b))
0.0b
(* (- a b) (- a b))
0.5b
(/ (* (- (* a a) (* b b)) (- (* a a) (* b b))) (* (- a b) (- a b)))
0.5b
(* (- (* a a) (* b b)) (- (* a a) (* b b)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
25×flip3-- flip--
24×add-sqr-sqrt
20×add-exp-log add-cbrt-cube
18×pow1
16×frac-times
12×add-cube-cbrt
11×swap-sqr
associate-*r* associate-*l* difference-of-squares
associate-*r/ associate-*l/ associate-/r/ associate-/l/
prod-exp cbrt-unprod distribute-lft-out-- add-log-exp
sub-neg
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp
pow2 pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up unswap-sqr
frac-2neg times-frac diff-log clear-num associate-/r* div-inv associate-/l*
Counts
4 → 135
Calls
4 calls:
3.0ms
(- (* a a) (* b b))
9.0ms
(* (- a b) (- a b))
17.0ms
(/ (* (- (* a a) (* b b)) (- (* a a) (* b b))) (* (- a b) (- a b)))
9.0ms
(* (- (* a a) (* b b)) (- (* a a) (* b b)))

series132.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (* a a) (* b b))
17.0ms
(* (- a b) (- a b))
39.0ms
(/ (* (- (* a a) (* b b)) (- (* a a) (* b b))) (* (- a b) (- a b)))
43.0ms
(* (- (* a a) (* b b)) (- (* a a) (* b b)))

simplify121.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (108.0ms)

IterNodesCost
05361348
134101077
250031052

prune207.0ms

Filtered
147 candidates to 87 candidates (59.2%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1461147
Fresh112
Picked101
Done101
Total1492151

Merged error: 0b

Counts
151 → 2

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite17.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:
6.0ms
(+ (* 2 (* a b)) (pow b 2))
10.0ms
(+ (pow a 2) (+ (* 2 (* a b)) (pow b 2)))

series71.0ms

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

simplify143.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0163237
1744220
23894212
35001212

prune62.0ms

Filtered
31 candidates to 22 candidates (71.0%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New31031
Fresh011
Picked011
Done000
Total31233

Merged error: 0b

Counts
33 → 2

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log *-un-lft-identity add-cbrt-cube
16×frac-times
14×add-sqr-sqrt
13×flip3-+ flip-+
12×flip3-- associate-*r* flip--
associate-*l*
pow1 add-cube-cbrt associate-*r/ associate-*l/ associate-/r/ associate-/l/
prod-exp cbrt-unprod add-log-exp
distribute-lft-out
cbrt-undiv distribute-rgt-in unpow-prod-down associate-+r+ distribute-lft-in cube-prod div-exp
sub-neg pow-prod-down *-commutative difference-of-squares unswap-sqr
+-commutative frac-2neg times-frac clear-num associate-/r* sum-log sum-cubes div-inv associate-/l* distribute-lft-out--
Counts
4 → 117
Calls
4 calls:
5.0ms
(+ (pow a 2) (* b (- b a)))
9.0ms
(* (- a b) (+ (pow a 2) (* b (- b a))))
18.0ms
(* (- (* a a) (* b b)) (+ (pow a 3) (pow b 3)))
28.0ms
(/ (* (- (* a a) (* b b)) (+ (pow a 3) (pow b 3))) (* (- a b) (+ (pow a 2) (* b (- b a)))))

series238.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ (pow a 2) (* b (- b a)))
49.0ms
(* (- a b) (+ (pow a 2) (* b (- b a))))
89.0ms
(* (- (* a a) (* b b)) (+ (pow a 3) (pow b 3)))
79.0ms
(/ (* (- (* a a) (* b b)) (+ (pow a 3) (pow b 3))) (* (- a b) (+ (pow a 2) (* b (- b a)))))

simplify39.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
07941555
150011317

prune353.0ms

Filtered
129 candidates to 92 candidates (71.3%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1290129
Fresh000
Picked011
Done011
Total1292131

Merged error: 0b

Counts
131 → 2

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

sample416.0ms

Algorithm
intervals
Results
169.0ms8000×pre80true
118.0ms8000×body80valid

Profiling

Loading profile data...