Details

Time bar (total: 29.1s)

sample283.0ms

Algorithm
intervals
Results
115.0ms112×body1280valid
65.0ms256×pre80true
47.0ms77×body640valid
7.0ms13×body320valid
6.0ms43×body80valid
4.0ms11×body160valid

simplify6.9s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
099
1159
2229
3339
4399
5899
61939
74519
813809
948379
done50019

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.4b

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
3.9b
(tan (+ y z))

rewrite76.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:
33.0ms
(+ x (- (tan (+ y z)) (tan a)))
33.0ms
(- (tan (+ y z)) (tan a))
7.0ms
(tan (+ y z))

series462.0ms

Counts
3 → 9
Calls
3 calls:
205.0ms
(+ x (- (tan (+ y z)) (tan a)))
184.0ms
(- (tan (+ y z)) (tan a))
73.0ms
(tan (+ y z))

simplify918.0ms

Counts
51 → 51
Iterations

Useful iterations: 3 (229.0ms)

IterNodesCost
091627
1197590
2475572
31729570
done5000570

prune207.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite320.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative sub-neg associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- flip3-- times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub flip-- cbrt-unprod unswap-sqr
Counts
4 → 67
Calls
4 calls:
14.0ms
(+ (tan y) (tan z))
105.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
178.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
20.0ms
(* (tan y) (tan z))

series1.6s

Counts
4 → 12
Calls
4 calls:
185.0ms
(+ (tan y) (tan z))
644.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
592.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
147.0ms
(* (tan y) (tan z))

simplify796.0ms

Counts
79 → 79
Iterations

Useful iterations: done (791.0ms)

IterNodesCost
01541433
13761362
211741304
done50001291

prune583.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize43.0ms

Local error

Found 4 expressions with local error:

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

rewrite1.0s

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
17×add-log-exp
14×add-sqr-sqrt
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
tan-quot exp-prod
sum-log distribute-lft-out
diff-log associate-*r* associate-*l* rem-exp-log distribute-lft-out--
associate-+r- sub-neg associate-+r+ difference-of-squares
+-commutative frac-times flip3-- flip3-+ times-frac exp-diff associate-*r/ exp-sum pow-prod-down associate-*l/ prod-exp *-commutative frac-sub flip-- cbrt-unprod flip-+ unswap-sqr
Counts
4 → 71
Calls
4 calls:
108.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
155.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
30.0ms
(* (tan y) (tan z))
714.0ms
(exp (+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

series1.7s

Counts
4 → 12
Calls
4 calls:
507.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
493.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
108.0ms
(* (tan y) (tan z))
601.0ms
(exp (+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

simplify637.0ms

Counts
83 → 83
Iterations

Useful iterations: done (634.0ms)

IterNodesCost
01441677
13441612
211091517
done50011506

prune422.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize47.0ms

Local error

Found 4 expressions with local error:

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

rewrite532.0ms

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

series1.4s

Counts
4 → 12
Calls
4 calls:
561.0ms
(- (/ (/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z))) (- 1 (* (tan y) (tan z)))) (tan a))
506.0ms
(+ x (- (/ (/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z))) (- 1 (* (tan y) (tan z)))) (tan a)))
130.0ms
(* (tan y) (tan z))
211.0ms
(/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z)))

simplify830.0ms

Counts
90 → 90
Iterations

Useful iterations: done (827.0ms)

IterNodesCost
01932495
14912391
217152209
done50012184

prune568.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

regimes374.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02332
13132
done3132

end0.0ms

sample9.4s

Algorithm
intervals
Results
5.1s3829×body1280valid
1.7s2050×body640valid
1.1s8000×pre80true
547.0ms691×body320valid
249.0ms1130×body80valid
128.0ms300×body160valid