Details

Time bar (total: 3.8s)

sample48.0ms

Algorithm
intervals
Results
19.0ms45×body1280valid
9.0ms162×body80valid
7.0ms26×body640valid
2.0ms13×body320valid
1.0ms10×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
0135
1224
2284
3284

prune8.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.1b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (sin y))
0.0b
(+ (+ x (sin y)) (* z (cos y)))
0.1b
(* z (cos y))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
+-commutative
associate-+l+ flip3-+ flip-+
*-commutative
Counts
3 → 9
Calls
3 calls:
2.0ms
(+ x (sin y))
5.0ms
(+ (+ x (sin y)) (* z (cos y)))
2.0ms
(* z (cos y))

series102.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(+ x (sin y))
39.0ms
(+ (+ x (sin y)) (* z (cos y)))
35.0ms
(* z (cos y))

simplify86.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
011082
132175
2104075
3372475
4500175

prune43.0ms

Filtered
18 candidates to 13 candidates (72.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New17118
Fresh000
Picked011
Done000
Total17219

Merged error: 0.0b

Counts
19 → 2

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ x (sin y)) (+ x (sin y)))
0.2b
(pow (+ x (sin y)) 3)
4.0b
(+ (pow (+ x (sin y)) 3) (pow (* z (cos y)) 3))
34.0b
(/ (+ (pow (+ x (sin y)) 3) (pow (* z (cos y)) 3)) (fma (* z (cos y)) (- (* z (cos y)) (+ x (sin y))) (* (+ x (sin y)) (+ x (sin y)))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
flip3-+ flip-+
frac-times
+-commutative
distribute-rgt-in fma-def distribute-lft-in unpow3 associate-*r/ associate-*l/ sum-cubes associate-/l/ sqr-pow
pow2 pow-to-exp frac-2neg clear-num *-commutative div-inv associate-/l*
Counts
4 → 29
Calls
4 calls:
5.0ms
(* (+ x (sin y)) (+ x (sin y)))
2.0ms
(pow (+ x (sin y)) 3)
5.0ms
(+ (pow (+ x (sin y)) 3) (pow (* z (cos y)) 3))
7.0ms
(/ (+ (pow (+ x (sin y)) 3) (pow (* z (cos y)) 3)) (fma (* z (cos y)) (- (* z (cos y)) (+ x (sin y))) (* (+ x (sin y)) (+ x (sin y)))))

series410.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (+ x (sin y)) (+ x (sin y)))
30.0ms
(pow (+ x (sin y)) 3)
174.0ms
(+ (pow (+ x (sin y)) 3) (pow (* z (cos y)) 3))
184.0ms
(/ (+ (pow (+ x (sin y)) 3) (pow (* z (cos y)) 3)) (fma (* z (cos y)) (- (* z (cos y)) (+ x (sin y))) (* (+ x (sin y)) (+ x (sin y)))))

simplify40.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0312432
11169416
25001407

prune152.0ms

Filtered
41 candidates to 31 candidates (75.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New38341
Fresh000
Picked101
Done011
Total39443

Merged error: 0.0b

Counts
43 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ x (sin y)) (+ x (sin y)))
0.2b
(* (+ x (sin y)) (+ x (sin y)))
3.6b
(fma (* (+ x (sin y)) (+ x (sin y))) (+ x (sin y)) (pow (* z (cos y)) 3))
34.0b
(/ (fma (* (+ x (sin y)) (+ x (sin y))) (+ x (sin y)) (pow (* z (cos y)) 3)) (fma (* z (cos y)) (- (* z (cos y)) (+ x (sin y))) (* (+ x (sin y)) (+ x (sin y)))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
12×flip3-+ flip-+
frac-times
+-commutative distribute-rgt-in distribute-lft-in associate-*r/ associate-*l/
pow2 *-commutative
frac-2neg clear-num fma-udef div-inv
Counts
4 → 32
Calls
4 calls:
5.0ms
(* (+ x (sin y)) (+ x (sin y)))
4.0ms
(* (+ x (sin y)) (+ x (sin y)))
1.0ms
(fma (* (+ x (sin y)) (+ x (sin y))) (+ x (sin y)) (pow (* z (cos y)) 3))
2.0ms
(/ (fma (* (+ x (sin y)) (+ x (sin y))) (+ x (sin y)) (pow (* z (cos y)) 3)) (fma (* z (cos y)) (- (* z (cos y)) (+ x (sin y))) (* (+ x (sin y)) (+ x (sin y)))))

series359.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (+ x (sin y)) (+ x (sin y)))
23.0ms
(* (+ x (sin y)) (+ x (sin y)))
145.0ms
(fma (* (+ x (sin y)) (+ x (sin y))) (+ x (sin y)) (pow (* z (cos y)) 3))
168.0ms
(/ (fma (* (+ x (sin y)) (+ x (sin y))) (+ x (sin y)) (pow (* z (cos y)) 3)) (fma (* z (cos y)) (- (* z (cos y)) (+ x (sin y))) (* (+ x (sin y)) (+ x (sin y)))))

simplify93.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0228440
1818416
23796401
35001391

prune144.0ms

Filtered
44 candidates to 28 candidates (63.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New44044
Fresh022
Picked011
Done011
Total44448

Merged error: 0.0b

Counts
48 → 4

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (+ x (sin y)) 3)
1.0b
(/ 1 (fma (* z (cos y)) (- (* z (cos y)) (+ x (sin y))) (* (+ x (sin y)) (+ x (sin y)))))
4.0b
(+ (pow (+ x (sin y)) 3) (pow (* z (cos y)) 3))
34.0b
(* (+ (pow (+ x (sin y)) 3) (pow (* z (cos y)) 3)) (/ 1 (fma (* z (cos y)) (- (* z (cos y)) (+ x (sin y))) (* (+ x (sin y)) (+ x (sin y))))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
frac-times
flip3-+ clear-num flip-+
frac-2neg
associate-*r/
fma-def unpow3 associate-*l/ un-div-inv sum-cubes div-inv sqr-pow
+-commutative pow-to-exp associate-*r* associate-*l* *-commutative inv-pow
Counts
4 → 29
Calls
4 calls:
2.0ms
(pow (+ x (sin y)) 3)
2.0ms
(/ 1 (fma (* z (cos y)) (- (* z (cos y)) (+ x (sin y))) (* (+ x (sin y)) (+ x (sin y)))))
6.0ms
(+ (pow (+ x (sin y)) 3) (pow (* z (cos y)) 3))
9.0ms
(* (+ (pow (+ x (sin y)) 3) (pow (* z (cos y)) 3)) (/ 1 (fma (* z (cos y)) (- (* z (cos y)) (+ x (sin y))) (* (+ x (sin y)) (+ x (sin y))))))

series622.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(pow (+ x (sin y)) 3)
219.0ms
(/ 1 (fma (* z (cos y)) (- (* z (cos y)) (+ x (sin y))) (* (+ x (sin y)) (+ x (sin y)))))
179.0ms
(+ (pow (+ x (sin y)) 3) (pow (* z (cos y)) 3))
191.0ms
(* (+ (pow (+ x (sin y)) 3) (pow (* z (cos y)) 3)) (/ 1 (fma (* z (cos y)) (- (* z (cos y)) (+ x (sin y))) (* (+ x (sin y)) (+ x (sin y))))))

simplify36.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0234501
1952487
25001476

prune135.0ms

Filtered
41 candidates to 30 candidates (73.2%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New40141
Fresh101
Picked011
Done022
Total41445

Merged error: 0.0b

Counts
45 → 4

regimes107.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
0115
1115

end0.0ms

sample1.3s

Algorithm
intervals
Results
411.0ms978×body1280valid
313.0ms5571×body80valid
235.0ms843×body640valid
82.0ms418×body320valid
33.0ms189×body160valid
1.0msbody2560valid