Details

Time bar (total: 9.7s)

sample46.0ms

Algorithm
intervals
Results
19.0ms318×body80valid

simplify1.8s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
089
1229
2469
31199
44089
515199
done50019

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.9b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ (- y z) 1.0))
10.3b
(/ (* x (+ (- y z) 1.0)) z)

rewrite153.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
associate-*r*
pow1 associate-*r/
times-frac associate-*l* associate-/r*
cbrt-undiv expm1-log1p-u flip3-+ div-exp prod-exp cbrt-unprod flip-+ log1p-expm1-u associate-/l/ distribute-lft-out add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* distribute-lft-out-- unswap-sqr
Counts
2 → 51
Calls
2 calls:
103.0ms
(* x (+ (- y z) 1.0))
48.0ms
(/ (* x (+ (- y z) 1.0)) z)

series96.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(* x (+ (- y z) 1.0))
51.0ms
(/ (* x (+ (- y z) 1.0)) z)

simplify1.1s

Counts
57 → 57
Iterations

Useful iterations: done (1.1s)

IterNodesCost
098645
1280625
21311539
done5001531

prune174.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
3.0b
(/ x (/ z (+ (- y z) 1.0)))

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
150×*-un-lft-identity
138×times-frac
70×add-sqr-sqrt add-cube-cbrt
32×distribute-lft-out
26×associate-/r*
16×distribute-lft-out--
11×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
Counts
2 → 143
Calls
2 calls:
43.0ms
(/ z (+ (- y z) 1.0))
83.0ms
(/ x (/ z (+ (- y z) 1.0)))

series146.0ms

Counts
2 → 6
Calls
2 calls:
73.0ms
(/ z (+ (- y z) 1.0))
72.0ms
(/ x (/ z (+ (- y z) 1.0)))

simplify1.2s

Counts
149 → 149
Iterations

Useful iterations: done (1.2s)

IterNodesCost
02042436
15282285
225542180
done50002177

prune364.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ (- y z) 1.0) z)
3.2b
(* x (/ (+ (- y z) 1.0) z))

rewrite181.0ms

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity
31×times-frac
27×add-sqr-sqrt
22×add-cube-cbrt
19×associate-*r*
14×distribute-lft-out
add-exp-log add-cbrt-cube
distribute-lft-out--
associate-/l*
pow1
associate-*l* associate-/r*
cbrt-undiv expm1-log1p-u div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv associate-/l/ add-log-exp unswap-sqr
associate-+l- frac-2neg flip3-+ div-sub associate-*r/ pow-prod-down clear-num *-commutative flip-+
Counts
2 → 80
Calls
2 calls:
80.0ms
(/ (+ (- y z) 1.0) z)
96.0ms
(* x (/ (+ (- y z) 1.0) z))

series106.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(/ (+ (- y z) 1.0) z)
66.0ms
(* x (/ (+ (- y z) 1.0) z))

simplify872.0ms

Counts
86 → 86
Iterations

Useful iterations: 2 (160.0ms)

IterNodesCost
01111039
1292999
21307903
done5000903

prune263.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize20.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (fma (/ x z) 1.0 (/ (* x y) z)) x)
0.0b
(fma (/ x z) 1.0 (/ (* x y) z))
6.3b
(/ (* x y) z)

rewrite36.0ms

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

series171.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(- (fma (/ x z) 1.0 (/ (* x y) z)) x)
76.0ms
(fma (/ x z) 1.0 (/ (* x y) z))
39.0ms
(/ (* x y) z)

simplify1.2s

Counts
71 → 71
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01141097
1258980
21173859
done5000782

prune246.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes151.0ms

Accuracy

81.4% (0.6b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 3.0b

bsearch94.0ms

Steps
ItersRangePoint
9
6.720882896059121e-195
1.054475616406439e-186
9.896449769877687e-188
6
-3.3241533431009845e+19
-4.097227766605898e+18
-2.4086198947376116e+19

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01938
12430
done2430

end0.0ms

sample1.0s

Algorithm
intervals
Results
552.0ms10022×body80valid