Details

Time bar (total: 4.5s)

sample65.0ms

Algorithm
intervals
Results
44.0ms635×body80valid

simplify69.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
0490929
1490929

prune10.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 2

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
0.0b
(* (* a a) (- 1.0 a))
0.3b
(pow (+ (* a a) (* b b)) 2.0)
1.1b
(* (* b b) (+ 3.0 a))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
15×pow1 add-exp-log
14×add-cbrt-cube
12×add-sqr-sqrt *-un-lft-identity
associate-*r*
add-cube-cbrt
pow-prod-down prod-exp cbrt-unprod add-log-exp
distribute-rgt-in distribute-lft-in associate-*r/
unpow-prod-down pow-unpow
sub-neg associate-+r+ flip3-+ associate-*l* *-commutative flip-+ unswap-sqr
+-commutative pow-to-exp flip3-- pow-pow pow-exp sum-log flip-- distribute-lft-out distribute-lft-out-- difference-of-squares sqr-pow
Counts
4 → 81
Calls
4 calls:
7.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
8.0ms
(* (* a a) (- 1.0 a))
5.0ms
(pow (+ (* a a) (* b b)) 2.0)
10.0ms
(* (* b b) (+ 3.0 a))

series56.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
5.0ms
(* (* a a) (- 1.0 a))
21.0ms
(pow (+ (* a a) (* b b)) 2.0)
6.0ms
(* (* b b) (+ 3.0 a))

simplify29.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
055181219

prune351.0ms

Filtered
64 candidates to 93 candidates (-45.3%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New87693
Fresh101
Picked101
Done000
Total89695

Merged error: 0.0b

Counts
95 → 6

localize21.0ms

Local error

Found 4 expressions with local error:

1.1b
(* (* b b) (+ 3.0 a))
19.1b
(cbrt (pow (+ (* b b) (* a a)) 2.0))
19.1b
(cbrt (pow (+ (* b b) (* a a)) 2.0))
19.1b
(cbrt (pow (+ (* b b) (* a a)) 2.0))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
21×cbrt-prod
13×*-un-lft-identity
12×add-sqr-sqrt
11×add-cube-cbrt
pow1 add-exp-log unpow-prod-down add-cbrt-cube
associate-*r* add-log-exp
pow1/3 pow-prod-down prod-exp cbrt-unprod sqr-pow
associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ associate-*l* *-commutative flip-+ distribute-lft-out unswap-sqr
Counts
4 → 69
Calls
4 calls:
7.0ms
(* (* b b) (+ 3.0 a))
4.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))
4.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))
4.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))

series106.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* (* b b) (+ 3.0 a))
33.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))
35.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))
33.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))

simplify53.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049391043
149391043

prune210.0ms

Filtered
61 candidates to 81 candidates (-32.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New81081
Fresh055
Picked011
Done000
Total81687

Merged error: 0.0b

Counts
87 → 6

localize28.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a))))))) (cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a))))))))
10.2b
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a)))))))
10.2b
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a)))))))
10.2b
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a)))))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
15.0ms
(* (cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a))))))) (cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a))))))))
6.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a)))))))
6.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a)))))))
6.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a)))))))

series205.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a))))))) (cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a))))))))
50.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a)))))))
47.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a)))))))
49.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a)))))))

simplify91.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
049694379
149694379

prune436.0ms

Filtered
78 candidates to 99 candidates (-26.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New98199
Fresh044
Picked101
Done011
Total996105

Merged error: 0b

Counts
105 → 6

localize43.0ms

Local error

Found 4 expressions with local error:

10.2b
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ a 3.0))) (* a (* a (- 1.0 a)))))))
10.2b
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ a 3.0))) (* a (* a (- 1.0 a)))))))
10.2b
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a)))))))
10.2b
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a)))))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log flip3-+ pow1/3 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 52
Calls
4 calls:
6.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ a 3.0))) (* a (* a (- 1.0 a)))))))
6.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ a 3.0))) (* a (* a (- 1.0 a)))))))
6.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a)))))))
6.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a)))))))

series190.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ a 3.0))) (* a (* a (- 1.0 a)))))))
48.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ a 3.0))) (* a (* a (- 1.0 a)))))))
47.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a)))))))
49.0ms
(cbrt (+ (pow (+ (* b b) (* a a)) 2.0) (* 4.0 (+ (* b (* b (+ 3.0 a))) (* a (* a (- 1.0 a)))))))

simplify39.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
051452568

prune420.0ms

Filtered
62 candidates to 64 candidates (-3.2%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New64064
Fresh044
Picked011
Done011
Total64670

Merged error: 0b

Counts
70 → 6

regimes154.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02952
12952

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.3s20472×body80valid

Profiling

Loading profile data...