Details

Time bar (total: 3.0s)

analyze480.0ms

Algorithm
search

sample26.0ms

Algorithm
intervals
Results
12.0ms256×body80valid
3.0ms73×body80nan

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1337
2427
3447
4447

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.0b

Counts
2 → 1

localize12.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ (* x y) (* x z))
1.4b
(+ (+ (* x y) (* x z)) (* y z))
19.0b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sum-log
add-exp-log flip3-+ sqrt-prod add-cbrt-cube flip-+
+-commutative sqrt-div
rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2 distribute-lft-out
Counts
3 → 40
Calls
3 calls:
3.0ms
(+ (* x y) (* x z))
5.0ms
(+ (+ (* x y) (* x z)) (* y z))
5.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series48.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ (* x y) (* x z))
7.0ms
(+ (+ (* x y) (* x z)) (* y z))
34.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify120.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0256358
1972331
23980326
35002326

prune82.0ms

Filtered
38 candidates to 49 candidates (-28.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New43649
Fresh000
Picked101
Done000
Total44650

Merged error: 20.0b

Counts
50 → 6

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(* z (+ x y))
1.0b
(+ (* x y) (* z (+ x y)))
19.0b
(sqrt (+ (* x y) (* z (+ x y))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube add-log-exp
associate-*r*
flip3-+ associate-*l* sqrt-prod flip-+
distribute-rgt-in associate-+r+ distribute-lft-in sqrt-div associate-*r/
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
3 → 51
Calls
3 calls:
5.0ms
(* z (+ x y))
4.0ms
(+ (* x y) (* z (+ x y)))
3.0ms
(sqrt (+ (* x y) (* z (+ x y))))

series44.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(* z (+ x y))
7.0ms
(+ (* x y) (* z (+ x y)))
31.0ms
(sqrt (+ (* x y) (* z (+ x y))))

simplify38.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0280331
11194312
25001311

prune91.0ms

Filtered
44 candidates to 60 candidates (-36.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New55560
Fresh415
Picked011
Done000
Total59766

Merged error: 20.0b

Counts
66 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (* x y) (* z (+ x y)))
1.0b
(+ (* x y) (* z (+ x y)))
19.0b
(sqrt (+ (* x y) (* z (+ x y))))
19.0b
(sqrt (+ (* x y) (* z (+ x y))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log associate-+r+ flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 sum-log
Counts
4 → 56
Calls
4 calls:
4.0ms
(+ (* x y) (* z (+ x y)))
4.0ms
(+ (* x y) (* z (+ x y)))
3.0ms
(sqrt (+ (* x y) (* z (+ x y))))
3.0ms
(sqrt (+ (* x y) (* z (+ x y))))

series77.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (* x y) (* z (+ x y)))
7.0ms
(+ (* x y) (* z (+ x y)))
31.0ms
(sqrt (+ (* x y) (* z (+ x y))))
33.0ms
(sqrt (+ (* x y) (* z (+ x y))))

simplify98.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0191500
1727472
23549472
35002472

prune100.0ms

Filtered
58 candidates to 68 candidates (-17.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New68068
Fresh055
Picked011
Done011
Total68775

Merged error: 20.0b

Counts
75 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
1.0b
(+ (* x y) (* (* (cbrt z) (cbrt z)) (* (cbrt z) (+ x y))))
19.0b
(sqrt (+ (* x y) (* (* (cbrt z) (cbrt z)) (* (cbrt z) (+ x y)))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-prod add-log-exp
pow1
add-exp-log distribute-rgt-in associate-+r+ distribute-lft-in add-cbrt-cube
sqrt-prod
flip3-+ pow1/3 sqrt-div flip-+
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
4 → 52
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
4.0ms
(+ (* x y) (* (* (cbrt z) (cbrt z)) (* (cbrt z) (+ x y))))
3.0ms
(sqrt (+ (* x y) (* (* (cbrt z) (cbrt z)) (* (cbrt z) (+ x y)))))

series91.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(cbrt z)
21.0ms
(cbrt z)
13.0ms
(+ (* x y) (* (* (cbrt z) (cbrt z)) (* (cbrt z) (+ x y))))
36.0ms
(sqrt (+ (* x y) (* (* (cbrt z) (cbrt z)) (* (cbrt z) (+ x y)))))

simplify142.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (135.0ms)

IterNodesCost
0276570
1914512
24590478
35001467

prune74.0ms

Filtered
52 candidates to 64 candidates (-23.1%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New63164
Fresh044
Picked011
Done022
Total63871

Merged error: 20.0b

Counts
71 → 8

regimes203.0ms

Accuracy

0% (0.1b remaining)

Error of 20.4b against oracle of 20.3b and baseline of 20.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1156

end0.0ms

analyze479.0ms

Algorithm
search

sample721.0ms

Algorithm
intervals
Results
402.0ms8000×body80valid
112.0ms2244×body80nan

Profiling

Loading profile data...