Details

Time bar (total: 6.0s)

sample20.0ms

Algorithm
intervals
Results
10.0ms315×body80valid

simplify27.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01012
11612
22812
33912
44612
55212
65512
done5512

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.3b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (/ (+ x 4.0) y) (* (/ x y) z))
4.3b
(* (/ x y) z)

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×associate-*l*
10×add-cube-cbrt *-un-lft-identity times-frac
add-exp-log add-cbrt-cube
pow1 add-log-exp
associate-*r* associate-*l/
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv sub-neg flip3-- diff-log div-exp pow-prod-down *-commutative frac-sub flip-- div-inv sub-div
Counts
2 → 46
Calls
2 calls:
27.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
11.0ms
(* (/ x y) z)

series69.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
22.0ms
(* (/ x y) z)

simplify1.2s

Counts
52 → 52
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
098556
1244534
2752476
32776476
done5000476

prune133.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ x 4.0) (* x z))
2.2b
(/ (- (+ x 4.0) (* x z)) y)

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-log-exp
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 flip3-- diff-log flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg div-sub div-exp associate--l+ clear-num sum-log div-inv
Counts
2 → 44
Calls
2 calls:
18.0ms
(- (+ x 4.0) (* x z))
36.0ms
(/ (- (+ x 4.0) (* x z)) y)

series71.0ms

Counts
2 → 6
Calls
2 calls:
21.0ms
(- (+ x 4.0) (* x z))
50.0ms
(/ (- (+ x 4.0) (* x z)) y)

simplify1000.0ms

Counts
50 → 50
Iterations

Useful iterations: done (998.0ms)

IterNodesCost
083705
1207685
2639629
32483629
done5000628

prune119.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (- 4.0 (* x z)))
0.2b
(/ 1 (/ y (+ x (- 4.0 (* x z)))))
2.2b
(/ y (+ x (- 4.0 (* x z))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
97×*-un-lft-identity
63×add-sqr-sqrt add-cube-cbrt
22×associate-/r*
17×distribute-lft-out
16×add-exp-log
11×associate-/r/
10×add-cbrt-cube
div-exp add-log-exp
flip3-+ flip-+ div-inv associate-/l*
pow1 cbrt-undiv
rec-exp associate-+r+ frac-2neg 1-exp clear-num sum-log
+-commutative associate-+r- sub-neg pow-flip diff-log inv-pow
Counts
3 → 145
Calls
3 calls:
6.0ms
(+ x (- 4.0 (* x z)))
14.0ms
(/ 1 (/ y (+ x (- 4.0 (* x z)))))
10.0ms
(/ y (+ x (- 4.0 (* x z))))

series124.0ms

Counts
3 → 9
Calls
3 calls:
21.0ms
(+ x (- 4.0 (* x z)))
46.0ms
(/ 1 (/ y (+ x (- 4.0 (* x z)))))
57.0ms
(/ y (+ x (- 4.0 (* x z))))

simplify804.0ms

Counts
154 → 154
Iterations

Useful iterations: 2 (202.0ms)

IterNodesCost
02132854
14822538
214672295
done50002295

prune252.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (- 4.0 (* x z)) x)
0.2b
(/ 1 (* y (/ 1 (+ (- 4.0 (* x z)) x))))
0.3b
(/ 1 (+ (- 4.0 (* x z)) x))
1.9b
(* y (/ 1 (+ (- 4.0 (* x z)) x)))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
52×add-exp-log
41×*-un-lft-identity
31×add-sqr-sqrt
29×times-frac
24×add-cube-cbrt
20×div-exp add-cbrt-cube
18×associate-*r*
16×prod-exp
10×pow1 rec-exp 1-exp
add-log-exp
distribute-lft-out
cbrt-undiv associate-/r/ associate-/l*
associate-/r*
cbrt-unprod
pow-flip flip3-+ associate-*l* flip-+ div-inv unswap-sqr
associate-+l+ frac-2neg associate-*r/ pow-prod-down clear-num sum-log un-div-inv inv-pow
+-commutative associate-+l- sub-neg diff-log *-commutative
Counts
4 → 134
Calls
4 calls:
9.0ms
(+ (- 4.0 (* x z)) x)
21.0ms
(/ 1 (* y (/ 1 (+ (- 4.0 (* x z)) x))))
13.0ms
(/ 1 (+ (- 4.0 (* x z)) x))
34.0ms
(* y (/ 1 (+ (- 4.0 (* x z)) x)))

series164.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ (- 4.0 (* x z)) x)
42.0ms
(/ 1 (* y (/ 1 (+ (- 4.0 (* x z)) x))))
39.0ms
(/ 1 (+ (- 4.0 (* x z)) x))
62.0ms
(* y (/ 1 (+ (- 4.0 (* x z)) x)))

simplify745.0ms

Counts
146 → 146
Iterations

Useful iterations: 2 (193.0ms)

IterNodesCost
01922132
14831809
215451551
done50011551

prune246.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes156.0ms

Accuracy

62.2% (0.7b remaining)

Error of 0.7b against oracle of 0.0b and baseline of 1.8b

bsearch71.0ms

Steps
ItersRangePoint
7
7.098827287593002e-142
1.0474405962160618e-139
7.438065996397021e-140
9
-6.582690336833318e+97
-4.6370901662035465e+92
-4.215108549341022e+93

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02442
12842
done2842

end0.0ms

sample531.0ms

Algorithm
intervals
Results
310.0ms10128×body80valid