Details

Time bar (total: 2.2s)

analyze407.0ms (18.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
9.4%90.5%0.1%7
14%85.8%0.1%8
21.1%78%0.9%9
37.3%60.3%2.5%10
39.7%56.1%4.2%11
45.6%48.7%5.7%12
55.9%35.1%8.9%13
57.6%32.1%10.3%14

sample17.0ms (0.8%)

Algorithm
intervals
Results
7.0ms256×body80valid
1.0ms29×body80invalid

simplify261.0ms (11.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (259.0ms)

IterNodesCost
049409
149409

prune8.0ms (0.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 9.6b

Counts
2 → 1

localize6.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(+ x (* y (- z x)))
0.0b
(* y (- z x))
9.0b
(/ (+ x (* y (- z x))) z)

rewrite16.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
15×*-un-lft-identity
13×add-cube-cbrt
times-frac
add-exp-log add-cbrt-cube
pow1 associate-*r* add-log-exp
sub-neg
associate-*l* associate-/r* associate-/l*
distribute-rgt-in associate-+r+ distribute-lft-in flip3-+ associate-*r/ flip-+ associate-/l/
cbrt-undiv +-commutative flip3-- frac-2neg div-exp pow-prod-down prod-exp clear-num sum-log *-commutative flip-- cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 66
Calls

3 calls:

6.0ms
(* y (- z x))
5.0ms
(/ (+ x (* y (- z x))) z)
3.0ms
(+ x (* y (- z x)))

series25.0ms (1.1%)

Counts
3 → 9
Calls

3 calls:

10.0ms
(/ (+ x (* y (- z x))) z)
7.0ms
(+ x (* y (- z x)))
7.0ms
(* y (- z x))

simplify63.0ms (2.9%)

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
04893763
14893763

prune112.0ms (5.1%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New67875
Fresh000
Picked101
Done000
Total68876

Merged error: 9.5b

Counts
76 → 8

localize8.0ms (0.4%)

Local error

Found 3 expressions with local error:

0.0b
(+ x (+ (* y z) (* y (neg x))))
0.6b
(+ (* y z) (* y (neg x)))
9.0b
(/ (+ x (+ (* y z) (* y (neg x)))) z)

rewrite18.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
12×add-sqr-sqrt add-cube-cbrt times-frac
10×add-log-exp
distribute-lft-out
add-exp-log add-cbrt-cube
sum-log associate-/l*
pow1 flip3-+ unsub-neg associate-/r* distribute-rgt-neg-out flip-+
+-commutative associate-+r- associate-/l/
cbrt-undiv associate-+r+ frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 62
Calls

3 calls:

7.0ms
(/ (+ x (+ (* y z) (* y (neg x)))) z)
5.0ms
(+ x (+ (* y z) (* y (neg x))))
4.0ms
(+ (* y z) (* y (neg x)))

series27.0ms (1.2%)

Counts
3 → 9
Calls

3 calls:

12.0ms
(/ (+ x (+ (* y z) (* y (neg x)))) z)
7.0ms
(+ (* y z) (* y (neg x)))
7.0ms
(+ x (+ (* y z) (* y (neg x))))

simplify54.0ms (2.5%)

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04977785
14977785

prune91.0ms (4.2%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New69271
Fresh437
Picked101
Done000
Total74579

Merged error: 2.3b

Counts
79 → 5

localize8.0ms (0.4%)

Local error

Found 3 expressions with local error:

0.0b
(- (* x y) x)
0.0b
(- y (/ (- (* x y) x) z))
2.3b
(/ (- (* x y) x) z)

rewrite18.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
13×*-un-lft-identity
11×add-cube-cbrt
10×times-frac
add-log-exp
add-exp-log add-cbrt-cube
pow1 flip3-- associate-/r* flip-- associate-/l*
sub-neg diff-log div-sub associate-/l/ difference-of-squares
cbrt-undiv frac-2neg div-exp clear-num div-inv distribute-lft-out-- associate--r-
Counts
3 → 56
Calls

3 calls:

8.0ms
(- y (/ (- (* x y) x) z))
5.0ms
(/ (- (* x y) x) z)
4.0ms
(- (* x y) x)

series20.0ms (0.9%)

Counts
3 → 9
Calls

3 calls:

8.0ms
(/ (- (* x y) x) z)
7.0ms
(- y (/ (- (* x y) x) z))
5.0ms
(- (* x y) x)

simplify45.0ms (2.1%)

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
06036715

prune81.0ms (3.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New64165
Fresh134
Picked011
Done000
Total65570

Merged error: 2.3b

Counts
70 → 5

localize13.0ms (0.6%)

Local error

Found 4 expressions with local error:

0.5b
(cbrt (- z x))
0.5b
(cbrt (- z x))
0.5b
(cbrt (- z x))
9.0b
(/ (+ x (* (* y (* (cbrt (- z x)) (cbrt (- z x)))) (cbrt (- z x)))) z)

rewrite16.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt *-un-lft-identity
15×cbrt-prod add-cube-cbrt
times-frac
add-exp-log cbrt-div add-cbrt-cube
pow1 add-log-exp
flip3-- pow1/3 associate-/r* flip-- associate-/l* distribute-lft-out-- difference-of-squares
associate-/l/
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ div-inv
Counts
4 → 74
Calls

4 calls:

5.0ms
(/ (+ x (* (* y (* (cbrt (- z x)) (cbrt (- z x)))) (cbrt (- z x)))) z)
3.0ms
(cbrt (- z x))
3.0ms
(cbrt (- z x))
3.0ms
(cbrt (- z x))

series91.0ms (4.2%)

Counts
4 → 12
Calls

4 calls:

28.0ms
(cbrt (- z x))
26.0ms
(cbrt (- z x))
26.0ms
(cbrt (- z x))
11.0ms
(/ (+ x (* (* y (* (cbrt (- z x)) (cbrt (- z x)))) (cbrt (- z x)))) z)

simplify30.0ms (1.4%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
04974890
14974890

prune98.0ms (4.5%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New85186
Fresh033
Picked101
Done011
Total86591

Merged error: 0.0b

Counts
91 → 5

regimes203.0ms (9.3%)

Accuracy

Total 0.0b remaining (61.7%)

Threshold costs 0.0b (61.7%)

bsearch0.0ms (0%)

simplify1.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04211
14211

end0.0ms (0%)

sample450.0ms (20.6%)

Algorithm
intervals
Results
232.0ms8000×body80valid
32.0ms1076×body80invalid

Profiling

Loading profile data...