Details

Time bar (total: 2.5s)

sample51.0ms

Algorithm
intervals
Results
30.0ms647×body80valid

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
0482817
1482817

prune11.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.1b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* a a) (* b b))
0.0b
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
0.0b
(* 4.0 (* b b))
0.3b
(pow (+ (* a a) (* b b)) 2.0)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log
add-cbrt-cube
add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down pow-unpow associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ sum-log flip-+
pow-to-exp pow-pow associate-*r* pow-exp *-commutative unswap-sqr sqr-pow
Counts
4 → 58
Calls
4 calls:
4.0ms
(+ (* a a) (* b b))
7.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
5.0ms
(* 4.0 (* b b))
5.0ms
(pow (+ (* a a) (* b b)) 2.0)

series46.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (* a a) (* b b))
15.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
3.0ms
(* 4.0 (* b b))
23.0ms
(pow (+ (* a a) (* b b)) 2.0)

simplify33.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
05434782

prune101.0ms

Filtered
52 candidates to 70 candidates (-34.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New68270
Fresh000
Picked101
Done000
Total69271

Merged error: 0b

Counts
71 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (pow b 4) (+ (pow a 4) (* a (* a (* b (* b 2))))))
0.0b
(+ (pow a 4) (* a (* a (* b (* b 2)))))
0.7b
(* a (* a (* b (* b 2))))
0.9b
(* a (* b (* b 2)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
27×pow1 add-exp-log add-cbrt-cube
16×pow-prod-down prod-exp cbrt-unprod
11×add-log-exp
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt associate-*l*
sum-log
+-commutative flip3-+ associate-*r* *-commutative flip-+
associate-+r+ distribute-lft-out
Counts
4 → 70
Calls
4 calls:
8.0ms
(+ (pow b 4) (+ (pow a 4) (* a (* a (* b (* b 2))))))
5.0ms
(+ (pow a 4) (* a (* a (* b (* b 2)))))
9.0ms
(* a (* a (* b (* b 2))))
6.0ms
(* a (* b (* b 2)))

series35.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(+ (pow b 4) (+ (pow a 4) (* a (* a (* b (* b 2))))))
9.0ms
(+ (pow a 4) (* a (* a (* b (* b 2)))))
8.0ms
(* a (* a (* b (* b 2))))
7.0ms
(* a (* b (* b 2)))

simplify51.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049661002
149661002

prune97.0ms

Filtered
45 candidates to 82 candidates (-82.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New82082
Fresh011
Picked011
Done000
Total82284

Merged error: 0b

Counts
84 → 2

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 2.0 (pow b 2.0))
0.0b
(* 4.0 (* b b))
0.7b
(* a (* a (* 2.0 (pow b 2.0))))
0.9b
(* a (* 2.0 (pow b 2.0)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
40×add-exp-log
25×prod-exp add-cbrt-cube
16×pow1 add-sqr-sqrt
13×cbrt-unprod
12×associate-*l*
10×add-cube-cbrt *-un-lft-identity associate-*r*
pow-prod-down
unpow-prod-down *-commutative add-log-exp unswap-sqr
pow-to-exp pow-exp
sqr-pow
Counts
4 → 85
Calls
4 calls:
5.0ms
(* 2.0 (pow b 2.0))
7.0ms
(* 4.0 (* b b))
8.0ms
(* a (* a (* 2.0 (pow b 2.0))))
6.0ms
(* a (* 2.0 (pow b 2.0)))

series132.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(* 2.0 (pow b 2.0))
3.0ms
(* 4.0 (* b b))
35.0ms
(* a (* a (* 2.0 (pow b 2.0))))
32.0ms
(* a (* 2.0 (pow b 2.0)))

simplify43.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
04916774
14916774

prune123.0ms

Filtered
58 candidates to 97 candidates (-67.2%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New97097
Fresh000
Picked011
Done011
Total97299

Merged error: 0b

Counts
99 → 2

regimes69.0ms

Accuracy

0% (1.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03019
13019

end0.0ms

sample1.5s

Algorithm
intervals
Results
973.0ms20707×body80valid

Profiling

Loading profile data...