Details

Time bar (total: 25.3s)

sample225.0ms

Algorithm
intervals
Results
125.0ms118×body1280valid
44.0ms72×body640valid
12.0ms256×pre80true
9.0ms23×body320valid
4.0ms31×body80valid
3.0ms12×body160valid

simplify135.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
099
1159
2229
3339
4389
5459
6519
7619
8749
9869
10959
done959

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.9b

localize23.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
3.7b
(tan (+ y z))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
30.0ms
(+ x (- (tan (+ y z)) (tan a)))
17.0ms
(- (tan (+ y z)) (tan a))
7.0ms
(tan (+ y z))

series469.0ms

Counts
3 → 9
Calls
3 calls:
223.0ms
(+ x (- (tan (+ y z)) (tan a)))
183.0ms
(- (tan (+ y z)) (tan a))
63.0ms
(tan (+ y z))

simplify2.9s

Counts
51 → 51
Iterations

Useful iterations: 3 (263.0ms)

IterNodesCost
091627
1196590
2453572
31243570
44659570
done5000570

prune240.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (tan z) (tan y)) (- 1 (* (tan z) (tan y))))
0.2b
(- (/ (+ (tan z) (tan y)) (- 1 (* (tan z) (tan y)))) (tan a))
0.2b
(+ x (- (/ (+ (tan z) (tan y)) (- 1 (* (tan z) (tan y)))) (tan a)))
0.2b
(* (tan z) (tan y))

rewrite447.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
22×add-sqr-sqrt
15×add-cube-cbrt
13×times-frac
11×add-log-exp
add-exp-log add-cbrt-cube
tan-quot
pow1 distribute-lft-out
associate-/l*
associate-*r* associate-*l* associate-/r* associate-/l/
sub-neg associate-+r+ flip3-- flip3-+ diff-log sum-log associate-/r/ flip-- flip-+ distribute-lft-out-- difference-of-squares
cbrt-undiv +-commutative frac-times associate-+r- frac-2neg associate-*r/ div-exp pow-prod-down associate-*l/ frac-add prod-exp clear-num *-commutative frac-sub cbrt-unprod div-inv unswap-sqr
Counts
4 → 90
Calls
4 calls:
65.0ms
(/ (+ (tan z) (tan y)) (- 1 (* (tan z) (tan y))))
109.0ms
(- (/ (+ (tan z) (tan y)) (- 1 (* (tan z) (tan y)))) (tan a))
242.0ms
(+ x (- (/ (+ (tan z) (tan y)) (- 1 (* (tan z) (tan y)))) (tan a)))
25.0ms
(* (tan z) (tan y))

series1.7s

Counts
4 → 12
Calls
4 calls:
303.0ms
(/ (+ (tan z) (tan y)) (- 1 (* (tan z) (tan y))))
680.0ms
(- (/ (+ (tan z) (tan y)) (- 1 (* (tan z) (tan y)))) (tan a))
600.0ms
(+ x (- (/ (+ (tan z) (tan y)) (- 1 (* (tan z) (tan y)))) (tan a)))
155.0ms
(* (tan z) (tan y))

simplify2.4s

Counts
102 → 102
Iterations

Useful iterations: 3 (1.0s)

IterNodesCost
01892099
14501986
212331912
334981900
done50011900

prune503.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* (tan z) (tan y)) (* (tan z) (tan y)))
0.2b
(* (tan z) (tan y))
0.2b
(* (tan z) (tan y))
0.2b
(* (tan z) (tan y))

rewrite166.0ms

Algorithm
rewrite-expression-head
Rules
49×pow1
44×tan-quot
22×add-exp-log add-cbrt-cube
20×frac-times pow-prod-down
16×add-sqr-sqrt
14×associate-*r/ associate-*l/
11×prod-exp cbrt-unprod
10×add-cube-cbrt *-un-lft-identity associate-*r* associate-*l*
pow-sqr *-commutative pow-prod-up add-log-exp
unswap-sqr
pow-plus
pow2 swap-sqr
Counts
4 → 112
Calls
4 calls:
101.0ms
(* (* (tan z) (tan y)) (* (tan z) (tan y)))
25.0ms
(* (tan z) (tan y))
16.0ms
(* (tan z) (tan y))
16.0ms
(* (tan z) (tan y))

series606.0ms

Counts
4 → 12
Calls
4 calls:
174.0ms
(* (* (tan z) (tan y)) (* (tan z) (tan y)))
110.0ms
(* (tan z) (tan y))
180.0ms
(* (tan z) (tan y))
141.0ms
(* (tan z) (tan y))

simplify3.0s

Counts
124 → 124
Iterations

Useful iterations: 3 (1.4s)

IterNodesCost
01161312
13051231
210291047
337511017
done50001017

prune401.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize42.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (* (sin y) (sin z)) (* (cos z) (cos y))) (* (tan z) (tan y)))
0.2b
(* (tan z) (tan y))
0.2b
(* (tan z) (tan y))
0.3b
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))

rewrite134.0ms

Algorithm
rewrite-expression-head
Rules
61×add-exp-log add-cbrt-cube
29×prod-exp cbrt-unprod
16×tan-quot
13×pow1 add-sqr-sqrt
12×cbrt-undiv div-exp associate-*l*
add-cube-cbrt *-un-lft-identity
frac-times associate-*r/ associate-*r*
pow-prod-down associate-*l/
add-log-exp
*-commutative
times-frac associate-/r/ cos-mult div-inv unswap-sqr
frac-2neg clear-num associate-/r* associate-/l/ sin-mult associate-/l*
Counts
4 → 109
Calls
4 calls:
79.0ms
(* (/ (* (sin y) (sin z)) (* (cos z) (cos y))) (* (tan z) (tan y)))
15.0ms
(* (tan z) (tan y))
16.0ms
(* (tan z) (tan y))
20.0ms
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))

series550.0ms

Counts
4 → 12
Calls
4 calls:
228.0ms
(* (/ (* (sin y) (sin z)) (* (cos z) (cos y))) (* (tan z) (tan y)))
104.0ms
(* (tan z) (tan y))
105.0ms
(* (tan z) (tan y))
113.0ms
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))

simplify1.4s

Counts
121 → 121
Iterations

Useful iterations: 2 (344.0ms)

IterNodesCost
01692077
14801969
222481484
done50001484

prune510.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

regimes237.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02444
13444
done3444

end0.0ms

sample9.0s

Algorithm
intervals
Results
5.2s3881×body1280valid
1.6s2035×body640valid
882.0ms8000×pre80true
545.0ms1101×body80valid
279.0ms685×body320valid
79.0ms298×body160valid