Details

Time bar (total: 14.3s)

sample18.0ms

Algorithm
intervals
Results
8.0ms328×body80valid

simplify5.9s

Counts
1 → 1
Iterations

Useful iterations: 2 (3.0ms)

IterNodesCost
079
1119
2208
3328
4478
5668
6898
71268
82328
94898
1011658
1142258
done50018

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 10.6b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma (- z x) y x)
10.0b
(/ (fma (- z x) y x) z)

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp clear-num fma-udef div-inv
Counts
2 → 39
Calls
2 calls:
0.0ms
(fma (- z x) y x)
2.0ms
(/ (fma (- z x) y x) z)

series74.0ms

Counts
2 → 6
Calls
2 calls:
29.0ms
(fma (- z x) y x)
45.0ms
(/ (fma (- z x) y x) z)

simplify2.3s

Counts
45 → 45
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
066554
1120542
2326492
31197492
44252492
done5000492

prune113.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 2.5b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
51×*-un-lft-identity
30×add-sqr-sqrt
28×add-cube-cbrt prod-diff
24×times-frac
13×fma-def
10×distribute-lft-out add-log-exp
add-exp-log add-cbrt-cube
div-inv
fma-neg
pow1 expm1-log1p-u associate-/r* log1p-expm1-u
cbrt-undiv flip3-+ diff-log div-exp sum-log frac-sub flip-+ distribute-lft-out--
+-commutative sub-neg flip3-- frac-2neg prod-exp associate--l+ clear-num flip-- cbrt-unprod associate-/l* difference-of-squares
Counts
3 → 103
Calls
3 calls:
10.0ms
(+ (/ x z) y)
78.0ms
(- (+ (/ x z) y) (/ (* x y) z))
3.0ms
(/ (* x y) z)

series74.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(+ (/ x z) y)
30.0ms
(- (+ (/ x z) y) (/ (* x y) z))
24.0ms
(/ (* x y) z)

simplify780.0ms

Counts
112 → 112
Iterations

Useful iterations: 2 (133.0ms)

IterNodesCost
01542085
14121744
215941457
done50011457

prune216.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (/ x z) y)
0.0b
(- (+ (/ x z) y) (/ x (/ z y)))
5.4b
(/ x (/ z y))

rewrite134.0ms

Algorithm
rewrite-expression-head
Rules
351×times-frac
334×*-un-lft-identity
246×add-sqr-sqrt
237×add-cube-cbrt
176×prod-diff
47×distribute-lft-out
22×div-inv
13×fma-def associate-/r*
10×add-log-exp
add-exp-log add-cbrt-cube
associate-/r/
fma-neg
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u associate-/l* difference-of-squares
flip3-+ diff-log sum-log frac-sub flip-+ distribute-lft-out--
+-commutative sub-neg flip3-- frac-2neg associate--l+ clear-num flip--
Counts
3 → 302
Calls
3 calls:
12.0ms
(+ (/ x z) y)
97.0ms
(- (+ (/ x z) y) (/ x (/ z y)))
5.0ms
(/ x (/ z y))

series78.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(+ (/ x z) y)
31.0ms
(- (+ (/ x z) y) (/ x (/ z y)))
22.0ms
(/ x (/ z y))

simplify471.0ms

Counts
311 → 311
Iterations

Useful iterations: done (459.0ms)

IterNodesCost
051512532
1135711507
done50008525

prune531.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ x z) y)
0.0b
(- (+ (/ x z) y) (/ 1 (/ (/ z y) x)))
0.5b
(/ 1 (/ (/ z y) x))
5.4b
(/ (/ z y) x)

rewrite256.0ms

Algorithm
rewrite-expression-head
Rules
1797×times-frac
1251×*-un-lft-identity
991×add-sqr-sqrt
968×add-cube-cbrt
536×prod-diff
138×distribute-lft-out
77×div-inv
46×associate-/r*
30×add-exp-log
18×div-exp add-cbrt-cube
16×associate-/l*
13×fma-def
11×add-log-exp
cbrt-undiv
difference-of-squares
pow1 associate-/r/
expm1-log1p-u fma-neg log1p-expm1-u distribute-lft-out--
rec-exp 1-exp
frac-2neg flip3-+ diff-log clear-num sum-log frac-sub flip-+
+-commutative sub-neg flip3-- pow-flip associate--l+ flip-- associate-/l/ inv-pow
Counts
4 → 870
Calls
4 calls:
12.0ms
(+ (/ x z) y)
141.0ms
(- (+ (/ x z) y) (/ 1 (/ (/ z y) x)))
13.0ms
(/ 1 (/ (/ z y) x))
6.0ms
(/ (/ z y) x)

series97.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(+ (/ x z) y)
36.0ms
(- (+ (/ x z) y) (/ 1 (/ (/ z y) x)))
21.0ms
(/ 1 (/ (/ z y) x))
20.0ms
(/ (/ z y) x)

simplify1.2s

Counts
882 → 882
Iterations

Useful iterations: done (1.2s)

IterNodesCost
0141048847
1383242230
done500039480

prune1.2s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes90.0ms

Accuracy

73.5% (0.8b remaining)

Error of 0.8b against oracle of 0.0b and baseline of 3.1b

bsearch62.0ms

Steps
ItersRangePoint
7
1.1113842165759087e-287
4.584512676026492e-286
3.640402671389334e-286
4
-1.488070700371348e-93
-8.046542096483128e-94
-1.2525042507888118e-93

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02958
13258
done3258

end0.0ms

sample474.0ms

Algorithm
intervals
Results
256.0ms10090×body80valid