Details

Time bar (total: 19.1s)

sample38.0ms

Algorithm
intervals
Results
16.0ms320×body80valid

simplify6.2s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1229
2469
31199
42289
53589
65079
710089
837839
done50019

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.7b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite185.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:
125.0ms
(* x (+ (- y z) 1.0))
58.0ms
(/ (* x (+ (- y z) 1.0)) z)

series120.0ms

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

simplify3.1s

Counts
57 → 57
Iterations

Useful iterations: 3 (1.5s)

IterNodesCost
098645
1262625
2923531
34857520
done5000520

prune123.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 z) (+ y 1.0)) x)
5.0b
(* (/ x z) (+ y 1.0))

rewrite50.0ms

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

series88.0ms

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

simplify1.3s

Counts
67 → 67
Iterations

Useful iterations: done (1.3s)

IterNodesCost
0133793
1411709
21290654
done5000648

prune168.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite225.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:
90.0ms
(/ (+ (- y z) 1.0) z)
129.0ms
(* x (/ (+ (- y z) 1.0) z))

series90.0ms

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

simplify2.2s

Counts
86 → 86
Iterations

Useful iterations: 3 (838.0ms)

IterNodesCost
01111039
1271987
2810899
32970882
done5000882

prune171.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt *-un-lft-identity
22×add-cube-cbrt
21×prod-diff
15×times-frac
10×add-exp-log add-cbrt-cube
fma-neg
pow1 div-inv add-log-exp
associate-*r/ associate-*r*
expm1-log1p-u associate-*l* associate-/r* log1p-expm1-u
cbrt-undiv flip3-+ div-exp prod-exp cbrt-unprod flip-+ associate-/l/
distribute-rgt-in sub-neg flip3-- frac-2neg distribute-lft-in diff-log pow-prod-down clear-num *-commutative flip-- distribute-lft-out associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 94
Calls
3 calls:
27.0ms
(- (/ (* x (+ y 1.0)) z) x)
28.0ms
(* x (+ y 1.0))
16.0ms
(/ (* x (+ y 1.0)) z)

series132.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(- (/ (* x (+ y 1.0)) z) x)
39.0ms
(* x (+ y 1.0))
49.0ms
(/ (* x (+ y 1.0)) z)

simplify3.1s

Counts
103 → 103
Iterations

Useful iterations: 3 (1.4s)

IterNodesCost
01491450
13691212
210831045
34961943
done5000943

prune217.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes106.0ms

Accuracy

69.8% (0.5b remaining)

Error of 0.5b against oracle of 0.0b and baseline of 1.7b

bsearch45.0ms

Steps
ItersRangePoint
7
2.5400712297185524e+145
9.512232189668787e+146
2.5905380091358057e+145
4
-9.26603679748231e+27
-5.937076841674776e+27
-8.953946801625355e+27

simplify11.0ms

Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
01735
12327
done2327

end0.0ms

sample1.3s

Algorithm
intervals
Results
794.0ms10146×body80valid