Details

Time bar (total: 21.1s)

sample39.0ms

Algorithm
intervals
Results
15.0ms274×body80valid

simplify6.5s

Counts
1 → 1
Iterations

Useful iterations: 3 (18.0ms)

IterNodesCost
01011
11711
23511
36310
410610
517910
632910
766010
8129510
9252510
done500010

prune14.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y z) (- a z))
2.0b
(fma (/ (- y z) (- a z)) t x)

rewrite413.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt *-un-lft-identity
25×times-frac
14×add-cube-cbrt
12×distribute-lft-out-- difference-of-squares
associate-/r* associate-/l*
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv frac-2neg div-sub div-exp clear-num fma-udef div-inv
Counts
2 → 64
Calls
2 calls:
410.0ms
(/ (- y z) (- a z))
1.0ms
(fma (/ (- y z) (- a z)) t x)

series179.0ms

Counts
2 → 6
Calls
2 calls:
67.0ms
(/ (- y z) (- a z))
112.0ms
(fma (/ (- y z) (- a z)) t x)

simplify2.2s

Counts
70 → 70
Iterations

Useful iterations: 3 (642.0ms)

IterNodesCost
0113884
1264856
2826810
34309808
done5000808

prune383.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- a z) (- y z))
0.3b
(/ 1 (/ (- a z) (- y z)))
2.0b
(fma (/ 1 (/ (- a z) (- y z))) t x)

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
218×times-frac
195×add-sqr-sqrt *-un-lft-identity
91×add-cube-cbrt
52×distribute-lft-out-- difference-of-squares
36×associate-/r*
16×add-exp-log
11×associate-/r/
10×add-cbrt-cube
div-exp associate-/l*
flip3-- flip-- div-inv
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp frac-2neg 1-exp clear-num associate-/l/
pow-flip div-sub fma-udef inv-pow
Counts
3 → 214
Calls
3 calls:
38.0ms
(/ (- a z) (- y z))
59.0ms
(/ 1 (/ (- a z) (- y z)))
1.0ms
(fma (/ 1 (/ (- a z) (- y z))) t x)

series567.0ms

Counts
3 → 9
Calls
3 calls:
70.0ms
(/ (- a z) (- y z))
173.0ms
(/ 1 (/ (- a z) (- y z)))
325.0ms
(fma (/ 1 (/ (- a z) (- y z))) t x)

simplify2.0s

Counts
223 → 223
Iterations

Useful iterations: done (2.0s)

IterNodesCost
02703746
17033234
240063114
done50023100

prune578.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (/ t (/ (- a z) (- y z))) x)
0.0b
(/ (- a z) (- y z))
1.8b
(/ t (/ (- a z) (- y z)))

rewrite253.0ms

Algorithm
rewrite-expression-head
Rules
386×times-frac
322×*-un-lft-identity
320×add-sqr-sqrt
156×add-cube-cbrt
98×fma-def
82×distribute-lft-out-- difference-of-squares
36×associate-/r*
18×associate-/r/
10×add-exp-log add-cbrt-cube div-inv
flip3-- flip--
associate-/l*
add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u
frac-2neg clear-num associate-/l/
+-commutative flip3-+ div-sub sum-log flip-+ distribute-lft-out
Counts
3 → 310
Calls
3 calls:
157.0ms
(+ (/ t (/ (- a z) (- y z))) x)
26.0ms
(/ (- a z) (- y z))
36.0ms
(/ t (/ (- a z) (- y z)))

series619.0ms

Counts
3 → 9
Calls
3 calls:
329.0ms
(+ (/ t (/ (- a z) (- y z))) x)
73.0ms
(/ (- a z) (- y z))
215.0ms
(/ t (/ (- a z) (- y z)))

simplify1.7s

Counts
319 → 319
Iterations

Useful iterations: done (1.7s)

IterNodesCost
02983793
18123587
240973434
done50003426

prune1.1s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ t (- (/ a (- y z)) (/ z (- y z)))) x)
0.0b
(/ a (- y z))
0.0b
(/ z (- y z))
1.8b
(/ t (- (/ a (- y z)) (/ z (- y z))))

rewrite758.0ms

Algorithm
rewrite-expression-head
Rules
283×*-un-lft-identity
264×times-frac
211×add-sqr-sqrt
92×distribute-lft-out--
83×add-cube-cbrt
62×fma-def
50×difference-of-squares
40×associate-/r/
28×associate-/r*
21×distribute-rgt-out--
18×flip3-- flip-- div-inv
10×add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num
frac-sub sub-div
+-commutative flip3-+ sum-log flip-+ distribute-lft-out
Counts
4 → 247
Calls
4 calls:
571.0ms
(+ (/ t (- (/ a (- y z)) (/ z (- y z)))) x)
13.0ms
(/ a (- y z))
12.0ms
(/ z (- y z))
144.0ms
(/ t (- (/ a (- y z)) (/ z (- y z))))

series468.0ms

Counts
4 → 12
Calls
4 calls:
247.0ms
(+ (/ t (- (/ a (- y z)) (/ z (- y z)))) x)
35.0ms
(/ a (- y z))
52.0ms
(/ z (- y z))
134.0ms
(/ t (- (/ a (- y z)) (/ z (- y z))))

simplify1.0s

Counts
259 → 259
Iterations

Useful iterations: done (1.0s)

IterNodesCost
02943175
16132980
223092882
done50012880

prune927.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes247.0ms

Accuracy

77.8% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 1.2b

bsearch2.0ms

simplify4.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01855
12346
done2346

end0.0ms

sample1.0s

Algorithm
intervals
Results
495.0ms8758×body80valid
0.0msbody1280valid
0.0msbody640valid