Details

Time bar (total: 8.2s)

sample19.0ms

Algorithm
intervals
Results
9.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

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite38.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:
26.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
10.0ms
(* (/ x y) z)

series67.0ms

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

simplify1.1s

Counts
52 → 52
Iterations

Useful iterations: 2 (98.0ms)

IterNodesCost
098556
1244534
2752476
32556476
done5000476

prune136.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite54.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:
20.0ms
(- (+ x 4.0) (* x z))
33.0ms
(/ (- (+ x 4.0) (* x z)) y)

series67.0ms

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

simplify976.0ms

Counts
50 → 50
Iterations

Useful iterations: done (974.0ms)

IterNodesCost
083705
1207685
2622629
32194629
done5000628

prune118.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize8.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)))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
55×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×associate-/r*
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 frac-2neg diff-log 1-exp clear-num
sub-neg pow-flip associate--l+ sum-log inv-pow
Counts
3 → 127
Calls
3 calls:
20.0ms
(- (+ x 4.0) (* x z))
21.0ms
(/ 1 (/ y (- (+ x 4.0) (* x z))))
17.0ms
(/ y (- (+ x 4.0) (* x z)))

series123.0ms

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

simplify1.8s

Counts
136 → 136
Iterations

Useful iterations: done (1.8s)

IterNodesCost
02132599
14922352
212152135
343442075
done50012074

prune231.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
(- (+ x 4.0) (* x z))
0.2b
(/ 1 (* y (/ 1 (- (+ x 4.0) (* x z)))))
0.3b
(/ 1 (- (+ x 4.0) (* x z)))
1.9b
(* y (/ 1 (- (+ x 4.0) (* x z))))

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
52×add-exp-log
29×add-sqr-sqrt
23×*-un-lft-identity times-frac
22×add-cube-cbrt
20×div-exp add-cbrt-cube
16×prod-exp
15×associate-*r*
10×pow1 rec-exp 1-exp
add-log-exp
cbrt-undiv associate-/r/ associate-/l*
associate-/r* cbrt-unprod
flip3-- pow-flip associate-*l* flip-- div-inv unswap-sqr
frac-2neg diff-log associate-*r/ pow-prod-down clear-num un-div-inv inv-pow
sub-neg associate--l+ sum-log *-commutative
Counts
4 → 125
Calls
4 calls:
19.0ms
(- (+ x 4.0) (* x z))
25.0ms
(/ 1 (* y (/ 1 (- (+ x 4.0) (* x z)))))
18.0ms
(/ 1 (- (+ x 4.0) (* x z)))
42.0ms
(* y (/ 1 (- (+ x 4.0) (* x z))))

series156.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(- (+ x 4.0) (* x z))
41.0ms
(/ 1 (* y (/ 1 (- (+ x 4.0) (* x z)))))
39.0ms
(/ 1 (- (+ x 4.0) (* x z)))
56.0ms
(* y (/ 1 (- (+ x 4.0) (* x z))))

simplify2.0s

Counts
137 → 137
Iterations

Useful iterations: done (2.0s)

IterNodesCost
01892055
14861762
212211506
341081480
done50001479

prune222.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes153.0ms

Accuracy

62.2% (0.7b remaining)

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

bsearch79.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

sample504.0ms

Algorithm
intervals
Results
298.0ms10128×body80valid