Details

Time bar (total: 6.6s)

sample321.0ms

Algorithm
intervals
Results
63.0ms131×body1280valid
19.0ms256×pre80true
13.0ms52×body640valid
5.0ms28×body320valid
2.0ms36×body80valid
1.0msbody160valid

simplify461.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0709
1709

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.9b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
5.1b
(tan (+ y z))

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

series112.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(+ x (- (tan (+ y z)) (tan a)))
47.0ms
(- (tan (+ y z)) (tan a))
25.0ms
(tan (+ y z))

simplify62.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
05182570

prune103.0ms

Filtered
39 candidates to 51 candidates (-30.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New43851
Fresh000
Picked101
Done000
Total44852

Merged error: 0.1b

Counts
52 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.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:
4.0ms
(+ (tan y) (tan z))
13.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
14.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series284.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (tan y) (tan z))
125.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
116.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
22.0ms
(* (tan y) (tan z))

simplify40.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
055641289

prune142.0ms

Filtered
59 candidates to 79 candidates (-33.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New71879
Fresh527
Picked101
Done000
Total771087

Merged error: 0.0b

Counts
87 → 10

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.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
times-frac
tan-quot associate-*r* associate-*l* associate-/r*
cbrt-undiv sub-neg associate-+r+ diff-log div-exp associate-*l/ prod-exp sum-log cbrt-unprod distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative associate-+r- flip3-- frac-2neg flip3-+ pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ div-inv associate-/l/ associate-/l* unswap-sqr
Counts
4 → 74
Calls
4 calls:
19.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
18.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
5.0ms
(* (tan y) (sin z))
6.0ms
(/ (* (tan y) (sin z)) (cos z))

series278.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
115.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
15.0ms
(* (tan y) (sin z))
23.0ms
(/ (* (tan y) (sin z)) (cos z))

simplify36.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
051721496

prune133.0ms

Filtered
65 candidates to 86 candidates (-32.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New85186
Fresh099
Picked101
Done000
Total861096

Merged error: 0.0b

Counts
96 → 10

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
13×add-exp-log add-cbrt-cube
12×*-un-lft-identity
10×add-cube-cbrt
pow1
associate-*r* associate-*l* add-log-exp
tan-quot
times-frac
prod-exp sin-cos-mult cbrt-unprod associate-/l/ associate-/l*
cbrt-undiv div-exp pow-prod-down *-commutative difference-of-squares unswap-sqr
frac-times sub-neg flip3-- frac-2neg flip3-+ diff-log associate-*r/ associate-*l/ frac-add clear-num associate-/r* associate-/r/ cos-mult frac-sub flip-- flip-+ div-inv distribute-lft-out--
Counts
4 → 81
Calls
4 calls:
5.0ms
(* (sin z) (cos y))
18.0ms
(- (/ (/ (+ (* (sin y) (cos z)) (* (sin z) (cos y))) (* (cos y) (cos z))) (- 1 (* (tan y) (tan z)))) (tan a))
12.0ms
(/ (+ (* (sin y) (cos z)) (* (sin z) (cos y))) (* (cos y) (cos z)))
5.0ms
(* (tan y) (tan z))

series179.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (sin z) (cos y))
118.0ms
(- (/ (/ (+ (* (sin y) (cos z)) (* (sin z) (cos y))) (* (cos y) (cos z))) (- 1 (* (tan y) (tan z)))) (tan a))
31.0ms
(/ (+ (* (sin y) (cos z)) (* (sin z) (cos y))) (* (cos y) (cos z)))
21.0ms
(* (tan y) (tan z))

simplify46.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
049761602
149761602

prune93.0ms

Filtered
70 candidates to 93 candidates (-32.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New93093
Fresh099
Picked011
Done000
Total9310103

Merged error: 0.0b

Counts
103 → 10

regimes642.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02930
12930

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.7s3850×body1280valid
530.0ms8000×pre80true
493.0ms2031×body640valid
123.0ms723×body320valid
55.0ms1095×body80valid
35.0ms301×body160valid

Profiling

Loading profile data...